getEIC-methods {xcms} | R Documentation |
Generate multiple extracted ion chromatograms for m/z values of
interest. For xcmsSet
objects, reread original raw data
and apply precomputed retention time correction, if applicable.
object |
the xcmsRaw or xcmsSet object |
mzrange |
either a two column matrix with minimum or maximum m/z or a
matrix of any dimensions containing columns mzmin and
mzmax
|
step |
step size to use for profile generation |
sampidx |
integer vector with indicies of samples for which to get EICs |
For xcmsRaw
objects, a matrix with a column for each
mzmin
, mzmax
pair. Rows correspond to individual
scans.
For xcmsSet
objects, a list of matricies as described
above, one for each sample.
getEIC(object, mzrange, step = 0.1)
getEIC(object, mzrange, sampidx = seq(along = sampnames(object)))