View source: R/aggregate_top_taxa2.R
aggregate_top_taxa2 | R Documentation |
Summarize phyloseq: combine other than the most abundant taxa.
aggregate_top_taxa2(x, top, level)
x |
|
top |
Keep the top-n taxa, and merge the rest under the category 'Other'. Instead of top-n numeric this can also be a character vector listing the groups to combine. |
level |
Summarization level (from |
Backup from microbiome R pkg. This function is replaced by aggregate_rare function.
phyloseq-class
object
Contact: Leo Lahti microbiome-admin@googlegroups.com
See citation('microbiome')
data(dietswap) s <- aggregate_top_taxa2(dietswap, top = 3, "Phylum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.