Data Filtering
Data filtering selectively removes certain features or samples from the dataset.MicrobiomeStat provides key functions to filter data objects based on criteria.
Overview of Data Filtering
Key Functions
Diving Deep into Each Function
Removing Features with mStat_remove_feature()
mStat_remove_feature()mStat_remove_feature(
data.obj = obj,
featureIDs = c("feat1", "feat2"),
feature.level = "Family"
)Subset by Sample using mStat_subset_data()
mStat_subset_data()Example: Subsetting by Sample IDs
Example: Subsetting by a Condition
Working with Distance Matrices: mStat_subset_dist()
mStat_subset_dist()Filtering Microbiome Data by Prevalence and Abundance: mStat_filter()
mStat_filter()Usage:
Function's Operation:
Practical Example:
Conclusion
Last updated