Description Usage Arguments Value See Also
View source: R/subtractPeaks.msimat.R
Remove peaks, e.g. known contaminants, from an msimat object. The peaks are specified by their m/z values, and peak intensities are not taken into account. Mass accuracies (expressed as ppm values) for both the msimat dataset and the removal peaklist must be specified, and will be used to determine the margin of error for excluding a given peak.
1 2 | ## S3 method for class 'msimat'
subtractPeaks(input, vec, ppm1, ppm2)
|
input |
numeric; msimat object containing peaks to be removed |
vec |
numeric; List of peaks to be removed from d |
ppm1 |
numeric; Mass accuracy for peaklist v1, in ppm |
ppm2 |
numeric; Mass accuracy for peaklist v2, in ppm |
msimat object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.