annotation_legend_size-HeatmapList-method {ComplexHeatmap} | R Documentation

## Size of the Annotation Legends

### Description

Size of the Annotation Legends

### Usage

    ## S4 method for signature 'HeatmapList'
    annotation_legend_size(object, legend_list = list(), ...)

### Arguments

`object` | a `HeatmapList-class` object.
`legend_list` | A list of self-defined legend, should be wrapped into `grob` objects. It is normally constructed by `Legend`.
`...` | Other arguments.

### Details

Internally, all annotation legends are packed by `packLegend` as a single `grob` object.

This function is only for internal use.

### Value

A `unit` object.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    # There is no example
    NULL

[Package ComplexHeatmap version 2.2.0 Index]