Uses the output of MakeHeatmapData to display a heatmap with (by default) SampleIDs on the x-axis and a minimum taxonomic rank of Genus on the y-axis.
1 2 | PlotHeatmap(heatmap.data, use.reads = TRUE, threshold = 0.6,
x.text = TRUE, x.axis = "SampleID")
|
heatmap.data |
the dataframe from MakeHeatmapData |
use.reads |
if TRUE, plot the raw readcounts; if FALSE, use proportions. Raw readcounts are subject to biases from uneven library size but can be preferable for low-biomass or extremely sparse samples, as proportions can be distorting. |
threshold |
at what relative proportion the color scale goes to red. This should be adjusted such that there is only one red cell per row. |
x.text |
display labels on the x-axis? |
x.axis |
name of factor to be used to define the x-axis (must exist in
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.