inst/doc/CAMERA.R

### R code from vignette source 'CAMERA.Rnw'

###################################################
### code chunk number 1: EICPspec1
###################################################
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   <- findAdducts(an, polarity="positive")
plotEICs(an, pspec=2, maxlabel=5)


###################################################
### code chunk number 2: Pspec1
###################################################
plotPsSpectrum(an, pspec=2, maxlabel=5)

Try the CAMERA package in your browser

Any scripts or data that you put into this service are public.

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