Groups taxa into top members and samples by their larger group (if any) in preparation for plotting summary barcharts
1 2 | MakeBarchartData(agg, sampleset, datatype, grouping.col = "SubjectID",
taxa.level = "Order", top.n = 8)
|
agg |
an agglomerated dataframe ( |
taxa.level |
the taxonomic rank to show in the barcharts |
top.n |
how many colors/levels to display |
grouping.column |
a column that defines larger groups of samples (optional; set to NA to omit) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.