Apply a S3 tiger filter object to a pmartR S3 object
apply_tigerFilt.RdThis function takes a filter object of class 'tigerFilt' and
applies the filter to a dataset of pepData, proData,
lipidData, metabData, or nmrData.
Arguments
- filter_object
an object of the class 'tigerFilt' created by
tiger_filter- omicsData
an object of the class
pepData,proData,lipidData,metabData, ornmrDatausually created byas.pepData,as.proData,as.lipidData,as.metabData, oras.nmrData, respectively.
Value
An object of the class pepData, proData,
lipidData, metabData, or nmrData with specified cname_ids,
edata_cnames, and emeta_cnames filtered out of the appropriate datasets.
Examples
library(pmartRdata)
data("pmart_amide")
to_filter <- tiger_filter(omicsData = pmart_amide,sampletype_cname = "group", test_val = "QC")
amideFilt <- apply_tigerFilt(filter_object = to_filter, omicsData = pep_object)
#> There are no molecules that need to be removed. Returning the original omicsData