Estimate heatmap render size
Usage
heatmap_rendersize(
width,
height,
units,
ha_top_list,
ha_left,
ha_right,
ht_list,
legend_list,
flip
)Arguments
- width
Numeric vector of heatmap body widths. Interpretation depends on
flip.- height
Numeric vector of heatmap body heights. Interpretation depends on
flip.- units
Unit string for numeric-to-grid conversion (for example,
"in","cm","mm").- ha_top_list
A list of top annotations (typically
ComplexHeatmap::HeatmapAnnotationobjects).- ha_left
Optional left annotation.
- ha_right
Optional right annotation.
- ht_list
A
ComplexHeatmap::HeatmaporComplexHeatmap::HeatmapListobject.- legend_list
A list containing legend objects;
NULLentries are ignored.- flip
Logical; when
TRUE, width/height interpretation follows the flipped layout branch.