Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

height.Legends

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)

ComplexHeatmap

Make Complex Heatmaps

v2.6.2
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.