Learn R Programming

cellranger (version 0.1.0)

as.range: Convert a cell_limits object to a cell range

Description

Convert a cell_limits object to a cell range

Usage

as.range(x, RC = FALSE)

Arguments

x
a cell_limits object
RC
logical, requesting "R1C1" positioning notation

Value

  • length one character vector holding a cell range, in either A1 or R1C1 positioning notation

Examples

Run this code
rgCL <- cell_limits(rows = c(1, 4), cols = c(1, 3))
as.range(rgCL)
as.range(rgCL, RC = TRUE)

Run the code above in your browser using DataLab