Beneath: Beneath

View source: R/dims.R

BeneathR Documentation

Beneath

Description

Generate dimension beneath another object

Usage

Beneath(
  x = NULL,
  height = NULL,
  pad = 0.01,
  min.ratio = 0.02,
  h.aln = NULL,
  v.scale = NULL,
  v.scale.proportional = FALSE
)

Arguments

x

an object with dimension

height

the height of the new object (when NULL set proportional to the data)

pad

padding between the target and current

min.ratio

minimum ratio of dimensions when auto-scale

h.aln

object for horizontal alignment (when NULL, set to x)

v.scale

object for vertical scaling (when NULL, set to x)

v.scale.proportional

when v.scale is provided, whether to make proportional to data

Value

a dimension generator beneath x

Examples

WHeatmap(matrix(rnorm(2000),nrow=40)) +
  WColorBarH(1:20, cmp=CMPar(), continuous=FALSE, Beneath())


wheatmap documentation built on March 18, 2022, 6:43 p.m.