View source: R/prep_plot_rank_ab.R
df_glom | R Documentation |
df_glom()
take totals within sample at a given taxonomic rank.
df_glom(
phy_df,
ranks,
IDcol = "X.SampleID",
rank = "Phylum",
abunds = "Abundance"
)
phy_df |
A phyloseq data frame, as generated by
|
ranks |
A character vector with the taxon rank names |
IDcol |
The column name of the sample IDs |
rank |
The taxonomic rank to glom at |
abunds |
The column name of the abundances to sum |
tots |
The desired column name of the summed (glommed) abundances |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.