heatmap.key: Plot heatmap key

Description Usage Arguments Value

View source: R/heatmap.R

Description

heatmap.key plots a heatmap key in the current viewport.

Usage

1
2
3
4
heatmap.key(x, color.scheme = heatmap.color.scheme(),
  key.min = utils::head(color.scheme$breaks, 1) - 1,
  key.max = utils::tail(color.scheme$breaks, 1) + 1,
  key.line.color = "cyan")

Arguments

x

numeric matrix that was used to plot a heatmap

color.scheme

the color scheme used to plot the heatmap

key.min

should be less than the least break point of the color scheme

key.max

should be greater than the greates break point of the color scheme

key.line.color

the color used to draw the histogram

Value

invisible(NULL)


vdumeaux/mixtR documentation built on May 3, 2019, 4:58 p.m.