Description Usage Arguments Details Value Author(s) References Examples
View source: R/aggregate_taxa.R
Summarize phyloseq data into a higher phylogenetic level.
1 | aggregate_taxa(x, level, verbose = FALSE)
|
x |
|
level |
Summarization level (from |
verbose |
verbose |
This provides a convenient way to aggregate phyloseq OTUs (or other taxa) when the phylogenetic tree is missing. Calculates the sum of OTU abundances over all OTUs that map to the same higher-level group. Removes ambiguous levels from the taxonomy table. Returns a phyloseq object with the summarized abundances.
Summarized phyloseq object
Contact: Leo Lahti microbiome-admin@googlegroups.com
See citation('microbiome')
1 2 | data(dietswap)
s <- aggregate_taxa(dietswap, 'Phylum')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.