WLegendH {wheatmap}R Documentation

WLegendH

Description

a horizontal legend

Usage

WLegendH(
  x = NULL,
  dm = NULL,
  name = "",
  n.stops = 20,
  n.text = 5,
  label.fontsize = 12,
  width = 0.02,
  height = 0.05,
  decreasing = TRUE,
  ...
)

Arguments

x

a name or a plotting object, if NULL use the last plotting object

dm

position

name

name of the plotted legend

n.stops

number of stops in computing continuous legend

n.text

number of text labels in continuous legend

label.fontsize

label font size

width

width of each unit in plotted legend

height

height of each unit in plotted legend

decreasing

reversed color map

...

additional options to WHeatmap

Value

an object of class WLegendH

Examples

WHeatmap(matrix(1:4,nrow=2))+WLegendH(NULL, Beneath())

[Package wheatmap version 0.2.0 Index]