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

grid.draw.Legends

Draw the Legends


Description

Draw the Legends

Usage

## S3 method for class 'Legends'
grid.draw(x, recording = TRUE)

Arguments

x

The grob object returned by Legend or packLegend.

recording

Pass to grid.draw.

Details

This function is actually an S3 method of the Legends class for the grid.draw general method. It applies grid.draw on the grob slot of the object.

Examples

lgd = Legend(at = 1:4, title = "foo")
pushViewport(viewport(x = unit(0, "npc"), y = unit(0, "npc"), just = c("left", "bottom")))
grid.draw(lgd)
popViewport()

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.