plot_heatmap | R Documentation |
If working with a lot of data it is recommended to filter your df first, and then pass it into the plot_heatmap() function
plot_heatmap(df, columns = "SAMPLE", rows = "SNV", na.value = 0)
df |
A tibble or dataframe from one of the get outbreak functions |
columns |
The column name from df to use as columns in the heatmap |
rows |
The column name from df to use as rows in the heatmap |
na.value |
The numerical value to set the NA values to. Changing this (from 0 to -1) can affect the "chaining" effect of clustering. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.