as_well: Interpret characters as well names

Description Usage Arguments Value Examples

View source: R/misc_fun.R

Description

Interpret characters as well names

Usage

1
as_well(well, as.tibble = FALSE, to.upper = TRUE, zero.padding = 2)

Arguments

well

Character vector.

as.tibble

If TRUE, a tibble is returned instead of a list.

to.upper

Should well letters be converted to uppercase if they are not?

zero.padding

Number of digits the well number should be padded to.

Value

A list with well_let, well_num and well or a tibble with the corresponding column names.

Examples

1
2
3
as_well(c("a1", "B2", "Q23"))
as_well("23a")
as_well("n_2")

benjbuch/summerr documentation built on July 11, 2021, 9:40 a.m.