arrows_plate: Draw arrows of growth phases.

Description Usage Arguments

View source: R/plot.R

Description

draw arrows of linear segments calculated by dpseg_plate or segmented_plate with local slope (growth rate) as scaling factor, optionally in well colors.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
arrows_plate(
  segments,
  wells,
  col = "#000000",
  ncol = "#F81894",
  wcol,
  xlim,
  maxmu,
  minmu,
  lwd.max = 10,
  head.length = 0.02,
  add = TRUE,
  axis2 = !add,
  ...
)

Arguments

segments

a list of segmentations for each well as returned by dpseg_plate or segmented_plate

wells

subset and plot order of wells

col

default color for arrows from positive slope segments

ncol

default color for arrows from negative slope segments

wcol

well colors (named vector) for arrows and axis labels, eg. from plate layout map

xlim

correct left and right borders required for results from segmented_plate

maxmu

maximal slope (growth rate) for line width scaling

minmu

minimal slope (growth rate) for line width scaling

lwd.max

maximal line width

head.length

arrow head length, argument length to arrows

add

add to existing plot

axis2

add wells as y-axis tick labels

...

arguments passed to arrows


raim/platexpress documentation built on Jan. 18, 2022, 1:41 p.m.