Learn R Programming

cellranger (version 1.0.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(ul = c(1, 2), lr = c(7, 6))
as.range(rgCL)
as.range(rgCL, RC = TRUE)

Run the code above in your browser using DataLab