grid: Internal Grid Extension

Description Usage Arguments Details

Description

These functions enable mixing base and grid graphics in aheatmap, by avoiding calls to the grid internal function 'L_gridDirty'. They are not exported (i.e. not tampering core functions) and are only meant for internal use within the NMF package.

Usage

1
2
3
4
5
tryViewport(name, verbose = FALSE)

current.vpPath_patched(force.unpatched = FALSE, verbose = FALSE)

.use.grid.patch()

Arguments

name

viewport name

verbose

toggle verbosity

Details

tryViewport tries to go down to a viewport in the current tree, given its name.

tryViewport uses grid.ls and not seekViewport as the latter would reset the graphic device and break the mix grid/base graphic capability.


renozao/NMF documentation built on June 14, 2020, 9:35 p.m.