applyFilt | R Documentation |
This function takes a filter object of class 'moleculeFilt', 'massFilt', 'formulaFilt', 'emetaFilt', or 'confFilt' and applies the filter to a dataset of class ftmsData
or CoreMSData
applyFilt(filter_object, msObj, ...)
## S3 method for class 'moleculeFilt'
applyFilt(filter_object, msObj, min_num = 2, ...)
## S3 method for class 'massFilt'
applyFilt(filter_object, msObj, min_mass = 200, max_mass = 900, ...)
## S3 method for class 'formulaFilt'
applyFilt(filter_object, msObj, remove = "NoFormula", ...)
## S3 method for class 'emetaFilt'
applyFilt(
filter_object,
msObj,
min_val = NULL,
max_val = NULL,
cats = NULL,
na.rm = TRUE,
...
)
## S3 method for class 'confFilt'
applyFilt(filter_object, msObj, min_conf = 0.5, ...)
filter_object |
an object of the class 'moleculeFilt', 'massFilt', 'formulaFilt', 'emetaFilt', or 'confFilt' |
msObj |
an object of the class |
... |
further arguments as described below based on the class of |
min_num |
[ |
min_mass |
[ |
max_mass |
[ |
remove |
[ |
min_val |
[ |
max_val |
[ |
cats |
[ |
na.rm |
[ |
min_conf |
a numeric value greater than 0 specifying the minimum confidence score a peak should have in order to be retained |
An object of the class ftmsData
or CoreMSData
with specified molecules filtered out of the appropriate datasets
Lisa Bramer
molecule_filter
, mass_filter
, formula_filter
, emeta_filter
, conf_filter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.