getPeakTable | R Documentation |
Extracts the peak table (a data.frame
) from an xcms (or CAMERA)
object (without compound annotation). The peak table contains the mass
and retention time for all the features and their intensities across
the samples. This function is not meant to be called directly, but it
is internally used by runLC
, getAnnotationLC
,
createSTDdbLC
.
getPeakTable(xs, intval = "into")
xs |
The xcmsSet (or CAMERA) object |
intval |
The intensity measure extracted form |
The function process an xs
object and returns for it a
PeakTable which associates intensities to features and samples. The
default measure for the intensity is into
(the chromatographic
peak area for a feature), but in the case of annotation, maxo
(value for the intensity of the ion over the chromatographic peak) is
used to measure the intensity. For a more detailed description of the
possible intensity measures refer to the documentation of xcms]
.
A data frame with the intensity for each feature (rows) in all the
samples (columns). Each feature is identified by its m/z value and
retention time (in minutes). If the xs
object is of class
CAMERA, the results of the camera annotation (isotope, adduct,
pcgroup) are included in the table.
Pietro Franceschi
## Example of results data(LCresults) ## pre-compiled results LCresults$PeakTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.