View source: R/molecule_filter.R
molecule_filter | R Documentation |
This function returns a moleculeFilt object for use with applyFilt
molecule_filter(ftmsObj)
ftmsObj |
an object of class 'peakData' or 'compoundData', typically a result of |
Object of class 'moleculeFilt' that contains the molecule identifier and the number of samples for which the molecule was measured (not 0). This can be used in conjunction with applyFilt
to remove peaks observed in fewer than min_num
samples.
Lisa Bramer
data("examplePeakData")
filter_obj <- molecule_filter(examplePeakData)
peakDataFiltered <- applyFilt(filter_obj, examplePeakData, min_num=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.