ezHeatmap: Plots a heatmap

View source: R/plots.R

ezHeatmapR Documentation

Plots a heatmap

Description

Plots a heatmap and adds a color key.

Usage

ezHeatmap(
  x,
  lim = c(-4, 4),
  colors = getBlueRedScale(),
  dendrogram = "none",
  margins = c(8, 6),
  cexCol = 1.1,
  Rowv = TRUE,
  Colv = TRUE,
  labCol = ezSplitLongLabels(colnames(x)),
  labRow = rownames(x),
  key = TRUE,
  lwid = c(1, 4),
  lhei = c(1, 5),
  ...
)

Arguments

x

the data to plot.

lim

two integers used for breaks argument passed to heatmap.2().

colors

a character vector containing colors.

dendrogram

a character passed to heatmap.2().

margins

an integer, possibly modified, then passed to heatmap.2().

cexCol

an integer passed to heatmap.2().

Rowv

a logical passed to heatmap.2().

Colv

a logical passed to heatmap.2().

labCol

a character vector passed to heatmap.2().

labRow

a character vector, possibly modified, then passed to heatmap.2().

key

a logical passed to heatmap.2(). Will be set to FALSE if there is only one unique numeric in x.

...

additional arguments to be passed to heatmap.2().

Author(s)

Rehrauer, Hubert

Schmid, Peter

See Also

heatmap.2

Examples

x=matrix(1:100,10)
colnames(x) = letters[1:10]
ezHeatmap(x)

uzh/ezRun documentation built on April 19, 2024, 8:25 a.m.