well_join: Join a row and column into a well ID.

View source: R/well.R

well_joinR Documentation

Join a row and column into a well ID.

Description

Joins a column number and a row letter or number into a well ID. i.e. joins "A" and "1" to "A01" and joins "3 and "10" to "C10".

Usage

well_join(row, col, num_width = 2)

Arguments

row

either a row letter or number for to be coerced into a letter.

col

a column number.

num_width

the number of digits to pad out the column number with 0.

Value

a vector of well IDs as strings.

Examples


well_join(1:3, 4)
well_join(c("A", "B", "H"), 9)
well_join("C", 1:10)

rforbiochemists/wellr documentation built on March 28, 2024, 4:26 a.m.