as.data.frame.GCIMSSample.Rd
Turn the intensity matrix into a data frame
# S3 method for class 'GCIMSSample'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
dt_range = NULL,
rt_range = NULL,
dt_idx = NULL,
rt_idx = NULL,
...
)
A GCIMSSample object
NULL
or a character vector giving the row
names for the data frame. Missing values are not allowed.
logical. If TRUE
, setting row names and
converting column names (to syntactic names: see
make.names
) is optional. Note that all of R's
base package as.data.frame()
methods use
optional
only for column names treatment, basically with the
meaning of data.frame(*, check.names = !optional)
.
See also the make.names
argument of the matrix
method.
The minimum and maximum drift times to extract (length 2 vector)
The minimum and maximum retention times to extract (length 2 vector)
A numeric vector with the drift time indices to extract (or a logical vector of the length of drift time)
A numeric vector with the retention time indices to extract (or a logical vector of the length of retention time)
unused
A data frame with dt_ms
, rt_s
and Intensity
columns