well_format: Format a Well to Uppercase and Padded Numbers

View source: R/well.R

well_formatR Documentation

Format a Well to Uppercase and Padded Numbers

Description

Format a Well to Uppercase and Padded Numbers

Usage

well_format(x, num_width = 2, uppercase = TRUE)

Arguments

x

Vector of well IDs to be formatted.

num_width

Width to pad out number component with 0's.

uppercase

Logical, whether the letter should be upercase.

Value

Vector of strings as formatted well IDs.

Examples

well_format(c("A9", "c3", "h12"))

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