getPeaklist-methods: Generate the annotatad peaklist

Description Usage Arguments Details Author(s) Examples

Description

Extract all information from an xsAnnotate object. Returns a peaklist with annotated peaks.

Usage

1
  getPeaklist(object, intval="into")

Arguments

object

xsAnnotate object

intval

Choose intensity values. Allowed values are into, maxo, intb, intf, maxf, area, depending on the feature detection algorithm used.

Details

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.

Author(s)

Carsten Kuhl <ckuhl@ipb-halle.de>

Examples

1
2
3
4
5
6
7
8
library(CAMERA)
file <- system.file('mzdata/MM14.mzdata', 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)

CAMERA documentation built on Nov. 8, 2020, 4:59 p.m.