Legends-class {ComplexHeatmap}R Documentation

The Class for Legends

Description

The Class for Legends

Details

This is a very simple class for legends that it only has one slot which is the real grob of the legends.

Construct a single legend by Legend and a group of legends by packLegend.

Examples

lgd = Legend(at = 1:4)
lgd
lgd@grob

[Package ComplexHeatmap version 2.8.0 Index]