Prepares data for making the summary barcharts showing the dominant taxa by group (rather than by sample).
1 | MakeTopBarchartData(agg, s, top = 6, min.rank = "Species")
|
agg |
agglomerated data frame, filtered as desired |
s |
sample metadata |
top |
top taxa to select from each group (displayed taxa will be union) |
min.rank |
min taxonomic rank to display (will group at this or higher) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.