Description Usage Arguments Value Examples
Aggregate OTU data by another taxonomic level.
1 2 3 4 5 6 |
df |
A dataframe containing OTU data, presumed to be normalized, although it could be done for raw count data as well. Defaults to |
sample_col |
An optional vector, specifying the column in |
tax_df |
Taxonomy table. |
taxon |
String which describes the taxonomic level to aggregate by. Default is |
An aggregated tibble containing a column of Sample names and columns named according to the levels in taxon
.
1 | phy_df <- agg_otus(otu_df, "Phylum")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.