Learn R Programming

wheatmap (version 0.2.0)

WLabel: construct a WLabel

Description

construct a WLabel

Usage

WLabel(
  x = NULL,
  dm = WDim(),
  name = "",
  fontsize = 12,
  rot = 0,
  color = "black"
)

Arguments

x

text to be labeled

dm

position

name

name

fontsize

font size

rot

rotation

color

color of the label

Value

a WLabel object

Examples

Run this code
# NOT RUN {
WHeatmap(matrix(rnorm(2000),nrow=40)) + WLabel("This is a label.", RightOf(), rot=-90)

# }

Run the code above in your browser using DataLab