raw_grid: Plots multiple platemaps with heatmap of raw values

Description Usage Arguments Value Examples

View source: R/raw_grid.R

Description

Converts numerical values. well labels, and plate labels into multiple plate heatmaps

Usage

1
raw_grid(data, well, plate_id, ncols = 2, plate = 96, ...)

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"

ncols

Number of columns to display multiple heatmaps

plate

Number of wells in complete plate (96, 384 or 1536)

...

additional parameters to plot wrappers

Value

ggplot plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)

raw_grid(data = df$vals,
    well = df$well,
    plate_id = df$plate,
    plate = 96)

Example output

Warning messages:
1: `panel.margin.x` is deprecated. Please use `panel.spacing.x` property instead 
2: `panel.margin` is deprecated. Please use `panel.spacing` property instead 

platetools documentation built on June 3, 2021, 5:06 p.m.