pchit_grid | R Documentation |
Converts numerical values, well labels, and plate labels into multiple heatmaps of plates, with z-scored principal components coloured dependent on a specified threshold of standard deviations above or below the average.
pchit_grid(data, well, plate_id, ...)
data |
Numerical values, either a dataframe or a matrix |
well |
Vector of well identifers e.g "A01" |
plate_id |
Vector of plate identifiers e.g "Plate_1" |
... |
additional arguments to 'platetools::hit_grid()' |
ggplot plot
df01 <- data.frame(
well = num_to_well(1:96),
plate = 1,
vals1 = rnorm(1:96),
vals2 = rnorm(1:96))
df02 <- data.frame(
well = num_to_well(1:96),
plate = 2,
vals1 = rnorm(1:96),
vals2 = rnorm(1:96))
df <- rbind(df01, df02)
pchit_grid(data = df[,3:4],
well = df$well,
plate_id = df$plate,
plate = 96)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.