height.Legends: Height of the Legends

View source: R/00_size.R

height.LegendsR Documentation

Height of the Legends

Description

Height of the Legends

Usage

## 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

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

jokergoo/ComplexHeatmap documentation built on Sept. 24, 2024, 4:48 p.m.