annotation_legend_size-HeatmapList-method {ComplexHeatmap} | R Documentation |
Size of the annotation legend viewport
## S4 method for signature 'HeatmapList' annotation_legend_size(object, legend_list = list(), ...)
object |
a |
legend_list |
a list of self-defined legend, should be wrapped into |
... |
graphic parameters passed to |
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.
A unit
object.
Zuguang Gu <z.gu@dkfz.de>
# no example for this internal method NULL