Description Usage Arguments Value See Also Examples
View source: R/individualReferencePeaks-functions.R
This function looks for reference peaks in each
individual sample. In contrast to
referencePeaks
it returns a
list
of MassPeaks
where all non reference peaks are removed and the mass
are not binned. E.g. this is useful to visualise
reference peaks in each individual spectrum.
1 2 | individualReferencePeaks(l, minFrequency = 0.9,
tolerance = 0.002)
|
l |
list of |
minFrequency |
see
|
tolerance |
see
|
a list of MassPeaks
objects
1 2 3 4 | l <- list(createMassPeaks(mass=1:5, intensity=1:5),
createMassPeaks(mass=c(1, 2:4+0.2, 5.01), intensity=1:5),
createMassPeaks(mass=c(1, 2:4+0.4, 5.02), intensity=1:5))
individualReferencePeaks(l, tolerance=0.02)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.