hit_map: Platemap to identify 'hits' in a screen

Description Usage Arguments Value Examples

View source: R/hit_map.R

Description

Produces a plot in the form of a micro-titre layout, with colours indicating wells above or below a nominated threshold.

Usage

1
hit_map(data, well, plate = 96, threshold = 2, palette = "Spectral", ...)

Arguments

data

Vector of numerical values to score

well

Vector of well identifiers e.g "A01"

plate

Number of wells in complete plate (6, 12, 24, 48, 96, 384 or 1536)

threshold

Numerical value of standard deviations from the mean for a well to be classified as a 'hit'. Default it +/- 2 SD

palette

RColorBrewer palette

...

additional parameters for plot wrappers

Value

ggplot plot

Examples

1
2
3
4
5
6
7
df <- data.frame(vals = rnorm(1:384),
                 well = num_to_well(1:384, plate = 384))

hit_map(data = df$vals,
        well = df$well,
        plate = 384,
        threshold = 3)

Example output



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