plate_matrix {platetools}R Documentation

plate layout matrix from well IDs

Description

Given a dataframe of alpha-numeric well IDs e.g ("A01"), and values, this function will produce a matrix in the form of a plate layout.

Usage

plate_matrix(data, well, plate = 96)

Arguments

data

vector of data to be placed in matrix

well

vector of alphanumeric well IDs. e.g ("A01")

plate

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

Value

matrix

Examples

a <- 1:96
wells <- num_to_well(1:96)
plate_matrix(data = a, well = wells)

x <- rnorm(384)
wells <- num_to_well(1:384, plate = 384)
plate_matrix(data = x, well = wells, plate = 384)

[Package platetools version 0.1.7 Index]