View source: R/conglomerate_taxa.R
conglomerate_taxa | R Documentation |
Conglomerate taxa by sample on a given classification level from the tax_table.
conglomerate_taxa(phyloseq_obj, classification, hierarchical = TRUE,
use_taxonomic_names = TRUE)
phyloseq_obj |
A |
classification |
Column name as a |
hierarchical |
Whether the order of factors in the tax_table represent
a decreasing hierarchy (TRUE) or are independent (FALSE). If FALSE, will
only return the factor given by |
use_taxonomic_names |
If (TRUE), will use the hierarchical taxonomic name from Domain to classification level. If (FALSE) will uses the classification level with a numerical assignment. |
phyloseq-object
tax_glom()
conglomerate_taxa(soil_column, 'Phylum')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.