View source: R/summarize_taxa.R
summarize_taxa | R Documentation |
Takes a feature table (ex OTUs/SVs) and a parsed taxonomy table to generate a named list of feature tables with abundances summed to each taxonomic level.
summarize_taxa(features, taxonomy)
features |
a table of abundances where rows are features and columns are samples |
taxonomy |
a table of taxonomies that has been parsed (ex using parse_taxonomy). Should contain the following columns: Kingdom,Phylum,Class,Order,Family,Genus,Species. |
a named list of abundances aggregated at each level.
## Not run: taxasums<-summarize_taxa(svtable, taxonomy); taxasums$Species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.