getEIC-methods | 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.
Note that this method will always return profile, not raw data (with profile data being the binned data along M/Z). See details for further information.
object |
the |
mzrange |
Either a two column matrix with minimum or maximum m/z or a
matrix of any dimensions containing columns For |
rtrange |
A two column matrix the same size as For |
step |
step (bin) size to use for profile generation. Note that a
value of |
groupidx |
either character vector with names or integer vector with indicies of peak groups for which to get EICs |
sampleidx |
either character vector with names or integer vector with indicies of samples for which to get EICs |
rt |
|
In contrast to the rawEIC
method, that extracts the
actual raw values, this method extracts them from the object's profile
matrix (or if the provided step
argument does not match the
profStep
of the object
the profile matrix is calculated
on the fly and the values returned).
For xcmsSet
and xcmsRaw
objects, an xcmsEIC
object.
getEIC(object, mzrange, rtrange = NULL, step = 0.1)
getEIC(object, mzrange, rtrange = 200, groupidx,
sampleidx = sampnames(object), rt = c("corrected", "raw"))
xcmsRaw-class
,
xcmsSet-class
,
xcmsEIC-class
,
rawEIC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.