height.Legends: Height of the Legends

Description Usage Arguments Value Examples

Description

Height of the Legends

Usage

1
2
## S3 method for class 'Legends'
height(x, ...)

Arguments

x

The grob object returned by Legend or packLegend.

...

Other arguments.

Value

The returned unit x is always in mm.

Examples

1
2
lgd = Legend(labels = 1:10, title = "foo", legend_gp = gpar(fill = "red"))
ComplexHeatmap:::height(lgd)

zhongmicai/complexHeatmap documentation built on May 7, 2019, 6:11 a.m.