Learn R Programming

cellranger (version 1.1.0)

is_A1: Test cell reference strings

Description

Test cell reference strings for a specific format.

Usage

is_A1(x)
is_R1C1(x)

Arguments

x
character vector of cell reference strings

Value

a logical vector

Functions

  • is_A1: A1 format, case insenstive; relative, absolute, or mixed
  • is_R1C1: R1C1 format; relative, absolute, or mixed

Examples

Run this code
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))

Run the code above in your browser using DataLab