mv_feature_filter {structToolbox} | R Documentation |
Filters features where the percent number of missing values exceeds a predefined threshold.
mv_feature_filter( threshold = 20, qc_label = "QC", method = "QC", factor_name, ... )
threshold |
(numeric) The threshold for excluding features. The default is |
qc_label |
(character) The label used to identify QC samples. The default is |
method |
(character) Filtering method. Allowed values are limited to the following:
The default is |
factor_name |
(character) The name of a sample-meta column to use. |
... |
Additional slots and values passed to |
This object makes use of functionality from the following packages:
pmp
A mv_feature_filter
object with the following output
slots:
filtered | (DatasetExperiment) A DatasetExperiment object containing the filtered data. |
flags | (data.frame) |
Jankevics A, Lloyd GR, Weber RJM (2021). pmp: Peak Matrix Processing and signal batch correction for metabolomics datasets. R package version 1.5.0.
D = iris_DatasetExperiment() M = mv_feature_filter(factor_name='Species',qc_label='versicolor') M = model_apply(M,D)