View source: R/phyloseq_filter.R
phyloseq_filter_taxa_tot_fraction | R Documentation |
Remove taxa with abundance less then a certain fraction of total abundance.
phyloseq_filter_taxa_tot_fraction(physeq, frac = 0.01)
physeq |
A phyloseq-class object |
frac |
The minimum cutoff for the OTU abundance in the table. This number is a fraction, not a percent. |
If frac = 0.0001, this will retain all OTU's that have at least a 0.01% total abundance in the OTU table. If you wanted to retain OTUs with at least 1% total abundance, you must specify, 0.01.
Phyloseq object with a subset of taxa.
http://qiime.org/scripts/filter_otus_from_otu_table.html
data("esophagus")
phyloseq_filter_taxa_tot_fraction(esophagus, frac = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.