powered by
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.
plate_matrix(data, well, plate = 96)
matrix
vector of data to be placed in matrix
vector of alphanumeric well IDs. e.g ("A01")
number of wells in plate (6, 12, 24, 48, 96 or 384, 1536)
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)
Run the code above in your browser using DataLab