convertVector2Df: Convert a vector of plate coordinates into a dataframe

Description Usage Arguments Value Examples

View source: R/fct_conversion.R

Description

Function converting the format of "Letter-Digit" coordinates into a dataframe containing these coordinates in Row, Column.

Usage

1
convertVector2Df(chr_wells, max_Row, max_Col, status = NA)

Arguments

chr_wells

character string containing the wells

max_Row

integer, maximal number of lines in the plate

max_Col

integer, maximal number of columns in the plate

status

character, the status of the wells

Value

result, dataframe containing wells coordinates

Examples

1
2
3
4
5
# convert the vector of well coordinates into a dataframe
convertVector2Df("A1,C2,A3,B12,C42",3,42,"specify_status")

# supports uppercase / lowercase letters
convertVector2Df("a1,C2,A3,b12,C42",3,42,"specify_status")

wpm documentation built on Nov. 8, 2020, 5:34 p.m.