getEIC-methods {xcms}R Documentation

Get extracted ion chromatograms for specified m/z ranges

Description

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.

Arguments

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

Value

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.

Methods

object = "xcmsRaw"
getEIC(object, mzrange, step = 0.1)
object = "xcmsSet"
getEIC(object, mzrange, sampidx = seq(along = sampnames(object)))

See Also

xcmsRaw-class, xcmsSet-class


[Package xcms version 1.0.0 Index]