Description Usage Arguments Details Author(s) Examples
The method searches in every pseudospectra for a distance between two ions matching a provided mass difference. It returns a boolean vector with the length equals to the number of pseudospectra, where a hit is marked with TRUE.
1 | findNeutralLossSpecs(object, mzdiff=NULL, mzabs=0, mzppm=10)
|
object |
xsAnnotate object |
mzdiff |
neutral loss in Dalton |
mzabs |
absolut allowed mass difference |
mzppm |
relative allowed mass difference |
The function needs a xsAnnotate object after groupCorr or groupFWHM.
Carsten Kuhl <ckuhl@ipb-halle.de>
1 2 3 4 5 6 7 | 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)
#Searches for Pseudspecta with water loss
hits <- findNeutralLossSpecs(an, mzdiff=18.01, mzabs=0.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.