draw_annotation_legend-HeatmapList-method {ComplexHeatmap} | R Documentation

## Draw legends for all column annotations

### Description

Draw legends for all column annotations

### Usage

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

### Arguments

`object` | a `HeatmapList-class` object
`legend_list` | a list of self-defined legend, should be wrapped into `grob` objects.
`...` | graphic parameters passed to `color_mapping_legend,ColorMapping-method`.

### Details

A viewport is created which contains annotation legends.

This function is only for internal use.

### Value

This function returns no value.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    # no example for this internal method
    NULL

[Package ComplexHeatmap version 1.18.1 Index]