View source: R/filter_objects.R
molecule_filter | R Documentation |
This function returns a moleculeFilt object for use with
applyFilt
molecule_filter(omicsData, use_groups = FALSE, use_batch = FALSE)
omicsData |
object of the class 'pepData', 'proData', 'metabData',
'lipidData', 'nmrData', or 'seqData', created by |
use_groups |
logical indicator for whether to utilize group information
from |
use_batch |
logical indicator for whether to utilize batch information
from |
Attribute of molecule_filt object is "total_poss_obs", the number of total possible observations for each feature (same as the number of samples)
An S3 object of class 'moleculeFilt' (also a data.frame) that contains the molecule identifier and the number of samples for which the molecule was observed (i.e. not NA)
Kelly Stratton
library(pmartRdata)
to_filter <- molecule_filter(omicsData = pep_object)
summary(to_filter, min_num = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.