scale.sample.position: Prepare x positions to layout samples in bell plots

Description Usage Arguments

Description

Prepare x axis positions to layout samples. This enable incorporation of clinical timeline (eg. diagnostic time, surgery time, therapies, etc.) to be included in bell plots. This function will scale and create a list of xstart position and length of samples such that it maintain the positions provided in xstarts and xstops. Return a list of xstarts and lengths to be used in draw.sample.clones

Usage

1
2
3
## S3 method for class 'sample.position'
scale(xstarts, xstops, plot.total.length = 7,
  evenly.distribute = TRUE)

Arguments

xstarts:

sample-named vector of x start positions

xstops:

sample-named vector of x stop positions

total.length:

total length of all sample in drawing


hdng/clonevol documentation built on May 17, 2019, 3:19 p.m.