Description Usage Arguments Value Examples
Filter a phyloseq table keeping only abundant taxa
1 | phyloseq_filter_abundant_taxa(ps, fraction_min = 0.1)
|
ps |
phyloseq object |
fraction_min |
minimum fraction that an OTU must represent in any given samples (not overall!) - 0.10 corresponds to 10% |
ps object with only abundant taxa
1 2 3 4 | # Will return the otus that more that represent more than 10% of total in any given sample. It also normalize the phyloseq to the median of the remaining OTUs
ps_abundant <- phyloseq_filter_abundant_taxa(ps)
# Idem but with lower threshold (5%)
ps_abundant <- phyloseq_filter_abundant_taxa(ps, 0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.