getLayoutSizes {bubbleHeatmap}R Documentation

Recalculate Layout Sizes for bubbleHeatmap gTree

Description

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.

Usage

getLayoutSizes(tree, unitBase)

Arguments

tree

A bubbleHeatmap gTree.

unitBase

The unitBase parameter used when the tree was created.

Value

The input bubbleHeatmap gTree with viewport dimensions matched to the size of the children grobs.


[Package bubbleHeatmap version 0.1.1 Index]