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
b_map(data, well, normalise = FALSE, plate = 96)

Arguments

data

Numerical values in the form of a vector to be normalised

well

Vector of well identifiers, e.g "A01"

normalise

Not currently used

plate

integer, 96, 384 or 1536

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)

platetools documentation built on May 30, 2017, 2:04 a.m.

Related to b_map in platetools...