hit_map: Platemap to identify 'hits' in a screen

View source: R/hit_map.R

hit_mapR Documentation

Platemap to identify 'hits' in a screen

Description

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

Usage

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

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)

platetools documentation built on May 29, 2024, 8:43 a.m.