getLayoutSizes {bubbleHeatmap} | R Documentation |
This function recalculates the viewport layout dimensions for a bubbleHeatmap tree based on the sizes of the children grobs, and returns the updated tree. This is useful for matching widths exactly to grob dimensions in an updated drawing context, and for resetting any previous layout modifications.
getLayoutSizes(tree, unitBase)
tree |
A bubbleHeatmap |
unitBase |
The unitBase parameter used when the tree was created. |
The input bubbleHeatmap gTree
with viewport
dimensions matched to the size of the children grobs.