is_A1: Test cell reference strings

Description Usage Arguments Value Functions Examples

View source: R/A1-R1C1-regex-utils.R

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

jennybc/cellranger documentation built on May 19, 2019, 4:04 a.m.