well_from_index | R Documentation |
Convert Numeric Index to Well ID.
well_from_index(x, plate = 96, num_width = 2, colwise = FALSE)
x |
numeric index to convert to a well ID |
plate |
number of wells in the plate. One of c(6, 12, 24, 96, 384) |
num_width |
number of zeros to pad the column number with to the left. |
colwise |
if TRUE, index instead down the columns, so H01 is index 8, A12 is index 89 and B01 is index 2 for a 96 well plate. |
a column ID as a vector of strings.
# indexing first along the rows
well_from_index(1:20)
# indexing first down the columns
well_from_index(1:20, colwise = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.