b_grid {platetools} | R Documentation |
Plots multiple b-scored normalised platemaps
Description
Transforms numerical values using the b-score normalisation process to account for row and column effects. Uses well and plate labels to plot the normalised values in the form of microtitre plates. Works for 96, 384 and 1536 well plates.
Usage
b_grid(
data,
well,
plate_id,
plate = 96,
eps = 0.01,
maxiter = 10,
trace.iter = FALSE,
na.rm = FALSE,
...
)
Arguments
data |
Numerical values to be plotted |
well |
Vector of well identifiers e.g "A01" |
plate_id |
Vector of plate identifiers e.g "Plate_1" |
plate |
Number of wells in complete plate (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
df01 <- data.frame(well = num_to_well(1:96),
vals = rnorm(96),
plate = 1)
df02 <- data.frame(well = num_to_well(1:96),
vals = rnorm(96),
plate = 2)
df <- rbind(df01, df02)
b_grid(data = df$vals,
well = df$well,
plate_id = df$plate,
plate = 96)
[Package platetools version 0.1.7 Index]