Description Usage Arguments Value
View source: R/subtractPeaks.numeric.R
Remove peaks from a peaklist within specified mass accuracy
1 2 | ## S3 method for class 'numeric'
subtractPeaks(input, vec, ppm1, ppm2, index = TRUE)
|
input |
numeric; Peaklist to be subtracted from |
vec |
numeric; List of peaks to be removed from v1 |
ppm1 |
numeric; Mass accuracy for peaklist v1, in ppm |
ppm2 |
numeric; Mass accuracy for peaklist v2, in ppm |
index |
logical; Report indices of peaks to be retained if TRUE, else report values |
indices of vector v1 to be retained if index=TRUE
, otherwise
the values of vector v1 corresponding to those indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.