is_A1: Test cell reference strings

Description Usage Arguments Value Functions Examples

Description

Test cell reference strings for a specific format.

Usage

1
2
3
is_A1(x)

is_R1C1(x)

Arguments

x

character vector of cell reference strings

Value

a logical vector

Functions

Examples

1
2
3
4
5
6
is_A1("A1")
is_R1C1("A1")
is_R1C1("R4C12")

x <- c("A1", "$A4", "$b$12", "RC1", "R[-4]C9", "R5C3")
data.frame(x, is_A1(x), is_R1C1(x))

cellranger documentation built on May 2, 2019, 11:26 a.m.