View source: R/agg.table.taxo.R
agg.table.taxo | R Documentation |
Table aggregation according to taxonomy Aggregates an ASV/OTU table according to a given taxonomic level
agg.table.taxo(tab, tax.lvl = "genus", tax.table)
tab |
An abundance table containing samples in columns and OTUs/ASV in rows. |
tax.lvl |
A string specifying the taxonomic level to be used for aggregation.
|
tax.table |
A table containing the taxonomy of each ASV/OTU. |
An abundance table with the sum of counts for each ASV/OTU corresponding to a given taxonomic level, found in each sample. ASV/OTUs that are not assigned at this specific level are discarded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.