convertVector2Df {wpm} | R Documentation

## Convert a vector of plate coordinates into a dataframe

### Description

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

### Usage

    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

    # 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")

[Package wpm version 1.4.0 Index]