View source: R/plotting_functions.r
Plot a pheatmap for a single value of k
1 2 3 4 5 6 7 | plot_heatmap_for_k(
cluster_assignments.df,
annotation_col.df,
ann_colours.lst,
cluster_input.mat,
annotation_legend = FALSE
)
|
cluster_assignments.df |
A data frame containing cluster assignments for samples |
annotation_col.df |
A data frame containing sample annotations |
ann_colours.lst |
A named list containing annotation colours |
cluster_input.mat |
A matrix of expression values for the heatmap body. |
annotation_legend |
Boolean - whether or not to include an annotation legend. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.