well_position: Conversion of well position index

Description Usage Arguments Value Author(s) Examples

Description

The functions to convert the index of well position in 96 or 384-well plate well_rowcol - Convert position number to letter format.

Usage

1
2
3
4
5
6
7
well_rowcol(x, row = TRUE, col = TRUE, as.factor = FALSE)

well_pos(rc, n_well = c(96, 384))

well_row384(pos, plate, as.factor = TRUE)

well_col384(pos, plate, as.factor = TRUE)

Arguments

x

a vector of position numbers

row

if the letters for rows should be returned

col

if the column number should be returned

as.factor

if the returned vector should be converted to factor

rc

a vector of position letters composed of row letter and column number e.g. B02

n_well

the number of wells per plate. It should be 96 or 384. The default is 96.

pos

a vector of position number on 96-well plate

plate

a vector of plate number of 96-well plates

Value

well_rowcol produces a character vector that has well position letter

well_pos an integer vector of position number

well_row384 a factor or a vector of characters

well_col384 a factor or a vector of characters

Author(s)

Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>

Examples

1
2
3
  well_rowcol(sample(1:96, 10))

    well_pos("B01")

Rundmus/BAf-R_package documentation built on May 18, 2020, 12:59 p.m.