Quickly generate identifiers (with optional prefixes) for 96 and 384 well plates.
Arguments
- plates
integer(1)
. Number of plates.- wells
integer(1)
. Number of wells (96
,384
).- controls
integer(1)
. Number of control wells.- prefix
character(1)
orNULL
. Plate name prefix.
Examples
## Single 96-well plate.
x <- microplate(wells = 96L)
print(head(x))
#> [1] "1-A01" "1-A02" "1-A03" "1-A04" "1-A05" "1-A06"
## 2 96-well plates.
x <- microplate(plates = 2L, wells = 96L)
print(head(x))
#> [1] "1-A01" "1-A02" "1-A03" "1-A04" "1-A05" "1-A06"
## Single 384-well plate.
x <- microplate(wells = 384L)
print(head(x))
#> [1] "1-A01" "1-A02" "1-A03" "1-A04" "1-A05" "1-A06"
## 2 96-well plates with 6 control wells per plate.
x <- microplate(plates = 2L, wells = 96L, controls = 6L)
print(head(x))
#> [1] "1-A07" "1-A08" "1-A09" "1-A10" "1-A11" "1-A12"