bhit_map | R Documentation |
Produces a platemap with colours indicating wells above or below selected threshold after normalising for systematic plate effects via B-score smooth. The threshold is definined calculated from a z-score, i.e plus or minus standard deviations from the plate mean.
bhit_map(
data,
well,
plate = 96,
threshold = 2,
palette = "Spectral",
eps = 0.01,
maxiter = 10,
trace.iter = FALSE,
na.rm = TRUE,
...
)
data |
Vector of numerical values |
well |
Vector of well identifiers, e.g "A01" |
plate |
Number of wells in whole plate (96, 384 or 1536) |
threshold |
Standard deviations from the plate average to indicate a hit. default is set to +/- 2 SD. |
palette |
RColorBrewer palette |
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 |
ggplot plot
df <- data.frame(vals = rnorm(384),
well = num_to_well(1:384, plate = 384))
bhit_map(data = df$vals,
well = df$well,
plate = 384,
threshold = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.