b_map: Plots a heatmap of b-score normalised values in a plate...

Description Usage Arguments Value Examples

View source: R/b_map.R

Description

Transforms numerical values using the b-score normalisation process to account for row and column effects. Uses well labels to plot the normalised values in the form of a microtitre plate. Works for 96, 384 or 1536 well plates

Usage

1
2
b_map(data, well, normalise = FALSE, plate = 96, eps = 0.01,
  maxiter = 10, trace.iter = FALSE, na.rm = TRUE, ...)

Arguments

data

Numerical values in the form of a vector to be normalised

well

Vector of well identifiers, e.g "A01"

normalise

Boolean, if TRUE then the residual values will be divded by the plate median absolute deviation as per Malo et al.

plate

integer, 96, 384 or 1536

eps

real number greater than 0. A tolerance for divergence

maxiter

int, the maximum number of iterations

trace.iter

Boolean, should progress in convergence be reported?

na.rm

Boolean, should missing values be removed?

...

additional parameters to plot wrappers

Value

ggplot plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
df <- data.frame(well = num_to_well(1:96),
vals = rnorm(96))

b_map(data = df$vals,
     well = df$well,
     plate = 96)

df_384 <- data.frame(
         well = num_to_well(1:384, plate = 384),
         vals = rnorm(384))

b_map(data = df_384$vals,
     well = df_384$well,
     plate = 384)

Swarchal/platetools documentation built on Dec. 11, 2018, 5:36 p.m.