ComplexHeatmap (version 1.10.2)

annotation_legend_size-HeatmapList-method: Size of the annotation legend viewport

Description

Size of the annotation legend viewport

Usage

## S3 method for class 'HeatmapList':
annotation_legend_size(object, legend_list = list(), ...)

Arguments

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

Value

Details

Legends for all heatmaps or legends for all annotations will be put in one viewport. This function calculates the size of such viewport. Note graphic parameters for legends will affect the size.

This function is only for internal use.

Examples

Run this code
# no example for this internal method
NULL

Run the code above in your browser using DataLab