arrangePanels {bubbleHeatmap}R Documentation

Arrange Multiple bubbleHeatmap gTrees Inside a New Viewport.

Description

The arrangePanels function creates a new viewport with a grid layout, and directs the input trees to be drawn at positions within the new layout. The new layout is filled by rows.

Usage

arrangePanels(
  name,
  subTrees,
  nrow,
  ncol,
  spacer = unit(0, "cm"),
  margin = unit(0, "cm"),
  just = c(0.5, 0.5)
)

Arguments

name

Character string naming the new viewport (will have suffix "VP")

subTrees

gTrees to be arranged in the new panel

nrow

Numeric, number of rows in the new layout

ncol

Numeric, number of columns in the new layout

spacer

Grid unit object specifying size of space left between plots.

margin

Grid unit object specifying size of margin around panel.

just

Numeric or character vector specifying justification of tree viewports within panel viewport layout cells. See viewport.

Value

List containing grobList (a list of modified gTrees) and vp, the new viewport object.


[Package bubbleHeatmap version 0.1.1 Index]