subtractPeaks: Remove peaks within specified mass accuracy

Description Usage Arguments Value See Also

View source: R/subtractPeaks.R

Description

Remove peaks, e.g. known contaminants, from an msimat object or plain peaklist. 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.

Usage

1
subtractPeaks(input, vec, ppm1, ppm2, ...)

Arguments

input

numeric; msimat object or vector 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

...

other parameters

Value

msimat object or numeric

See Also

subtractPeaks.msimat

subtractPeaks.numeric

filterPeaks


kbseah/mass2adduct documentation built on June 9, 2021, 9:20 p.m.