annotatedHeatmap: Annotated heatmap

View source: R/annotatedHeatmap.R

annotatedHeatmapR Documentation

Annotated heatmap

Description

Generate an annotated heatmap for output of “generateGaussianDataset“ or “generateComplexDataset“ using the “pheatmap“ function.

Usage

annotatedHeatmap(
  x,
  cluster_IDs,
  col_pal = colorRampPalette(c("#146EB4", "white", "#FF9900"))(100),
  my_breaks = defineDataBreaks(x, col_pal, mid_point = 0),
  main = "gen_dataset",
  ...
)

Arguments

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“.


stcolema/mdiHelpR documentation built on July 28, 2024, 5:41 a.m.