WColorBarV: WColorBarV

View source: R/colorbar.R

WColorBarVR Documentation

WColorBarV

Description

a vertical color bar

Usage

WColorBarV(
  data,
  ...,
  label = NULL,
  label.side = "t",
  label.fontsize = 12,
  label.pad = 0.005,
  label.space = 0.05,
  label.use.data = FALSE
)

Arguments

data

numeric vector

...

additional options to WHeatmap

label

colorbar label

label.side

t (for top) or b (for bottom)

label.fontsize

label font size

label.pad

label padding

label.space

when label.use.data, the space between labels

label.use.data

use data to show legend in situ

Value

an object of class WColorBarV

Examples

WColorBarV(matrix(50:1))

wheatmap documentation built on March 18, 2022, 6:43 p.m.