prw2uname {imageHTS} | R Documentation |
Functions to convert and parse well unique names.
prw2uname(plate, replicate, row, col, well) uname2prw(uname) rowcol2well(row, col) well2rowcol(well) well2wellid(row, col, direction='row', dim)
plate |
An numeric vector of plate indices or a list containing
the numeric vectors |
replicate |
A numeric vector of replicate indices. |
row |
A numeric vector of row indices. |
col |
A numeric vector of column indices |
well |
A character vector of well names. |
uname |
A character vector of well unique names. |
direction |
A character string containing the direction of the
mapping. Valid values are |
.
dim |
A numeric vector of length two, containing the dimensions (number of rows, number of columns) of a plate |
.
In prw2uname
, wells can be specified using the arguments row
and
col
or using the argument well
.
prw2uname
returns a character vector of well unique names.
uname2prw
returns a data frame containing the columns
plate
, replicate
, row
and col
.
rowcol2well
returns a character vector of well names.
well2rowcol
returns a data.frame containing the numeric vectors
row
and col
.
well2wellid
returns a numeric vector containing the well identifiers.
Gregoire Pau, gregoire.pau@embl.de, 2010
## prw2uname and uname2prw u = prw2uname(plate=1:2, replicate=1, row=2, col=3:4) print(u) prw = uname2prw(u) print(prw) prw2uname(prw) ## rowcol2well and well2rowcol w = rowcol2well(row=1:3, col=5:7) print(w) rc = well2rowcol(w) print(rc)