make_plate: Make a plate-properties dataframe.

Description Usage Arguments Examples

View source: R/make_plate.R

Description

Function for creating plate properties given column, row range and sample contents. Optional concentration, dilution factor and direction (for dilution series).

Usage

1
make_plate(rows, cols, sample, conc = NA, dil = NA, direction = "horizontal")

Arguments

rows

Vector of letters or numbers to generate row labels. If numeric LETTERS[rows]

cols

Vector of numbers to generate column values.

conc

If no dilution, constant concentration. If dilution, highest concentration in the dilution series.

dil

Numeric between 0 and 1 to represent dilution series. 1:1 dilution = 0.5.

direction

If !is.na(dil) then direction dictates if this dilution is performed across the columns (horizontal) or down the rows (vertical). Defaults to horizontal.

Examples

1
2
make_plate(rows = 1:3, cols = 1:2, sample = c("foo", "bar"))
make_plate(rows = 1:3, cols = 1:2, sample = c("foo", "bar"), conc = 500, dil = 0.5)

BradyAJohnston/simplePlates documentation built on Jan. 27, 2021, 5:57 p.m.