Plot a pheatmap for a single value of k

plot_heatmap_for_k(
  cluster_assignments.df,
  annotation_col.df,
  ann_colours.lst,
  cluster_input.mat,
  annotation_legend = FALSE
)

Arguments

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.