draw_heatmap_legend-HeatmapList-method {ComplexHeatmap}R Documentation

Draw legends for all heatmaps

Description

Draw legends for all heatmaps

Usage

## S4 method for signature 'HeatmapList'
draw_heatmap_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 heatmap 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]