Learn R Programming

platetools (version 0.1.7)

hit_map: 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", ...)

Value

ggplot plot

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

Examples

Run this code
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)

Run the code above in your browser using DataLab