Prepare agglomerated dataframe for heatmap display by aggregating counts by minimum rank, completing missing cases, and clustering rows
1 2 | MakeHeatmapData(agg, s, min.rank.1 = "Genus", min.rank.2 = NA,
min.samples = 1)
|
s |
sample metadata dataframe |
min.rank.1 |
the most specific rank to aggregate by (determines y-axis) Uses tax_climber to select next most specific rank if not available. |
min.rank.2 |
(optional) higher rank to prefix min.rank.1 (e.g. Phylum) Uses tax_climber to select next most specific rank if not available. |
min.samples |
the minimum number of samples required for a taxa to appear |
min.samples |
a row must appear more than this number of samples to be shown |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.