getPeaklist | R Documentation |
Extract all information from an xsAnnotate object. Returns a peaklist with annotated peaks.
getPeaklist(object, intval="into")
object |
xsAnnotate object |
intval |
Choose intensity values. Allowed values are into, maxo, intb, intf, maxf, area, depending on the feature detection algorithm used. |
This function extract the peaktable from an xsAnnotate object, containing three additional columns (isotopes, adducts, pseudospectrum) with represents the annotation results. For a grouped xcmsSet it returns the grouped peaktable.
Carsten Kuhl <ckuhl@ipb-halle.de>
library(CAMERA)
file <- system.file('mzML/MM14.mzML', package = "CAMERA")
xs <- xcmsSet(file, method="centWave", ppm=30, peakwidth=c(5,10))
an <- xsAnnotate(xs)
an <- groupFWHM(an)
an <- findIsotopes(an)
an <- findAdducts(an,polarity="positive")
peaklist <- getPeaklist(an)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.