WPosition: place an arbitrary position w.r.t a subplot

View source: R/dims.R

WPositionR Documentation

place an arbitrary position w.r.t a subplot

Description

place an arbitrary position w.r.t a subplot

Usage

WPosition(
  anchor.x,
  anchor.y,
  x = NULL,
  just = c("left", "bottom"),
  data.coord = FALSE
)

Arguments

anchor.x

x coordinates

anchor.y

y coordinates

x

plotting object to anchor

just

adjustment of new plot

data.coord

whether the coordinates is in term of data

Value

a WDimGenerator object

Examples


WHeatmap(matrix(rnorm(2000),nrow=40)) +
  WHeatmap(matrix(c(rnorm(100)+1,rnorm(100)), nrow=10),
    cmp=CMPar(brewer.name = 'RdGy'),
    WPosition(0.1,0.1,just=c('left','top')))


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