View source: R/annotatedHeatmap.R
annotatedHeatmap | R Documentation |
Generate an annotated heatmap for output of “generateGaussianDataset“ or “generateComplexDataset“ using the “pheatmap“ function.
annotatedHeatmap(
x,
cluster_IDs,
col_pal = colorRampPalette(c("#146EB4", "white", "#FF9900"))(100),
my_breaks = defineDataBreaks(x, col_pal, mid_point = 0),
main = "gen_dataset",
...
)
x |
A matrix. |
cluster_IDs |
A vector of the labels associated with the rows of x. |
col_pal |
The colour palette to use in the heatmap. |
my_breaks |
The breaks to use within the heatmap. |
... |
Other arguments to pass to “pheatmap“. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.