Examples for 'cellranger::as.range'


Convert a cell_limits object to a cell range

Aliases: as.range

Keywords:

### ** Examples

rgCL <- cell_limits(ul = c(1, 2), lr = c(7, 6))
as.range(rgCL)
[1] "R1C2:R7C6"
as.range(rgCL, fo = "A1")
[1] "B1:F7"
rgCL_ws <- cell_limits(ul = c(1, 2), lr = c(7, 6), sheet = "A Sheet")
as.range(rgCL_ws)
[1] "'A Sheet'!R1C2:R7C6"
as.range(rgCL_ws, fo = "A1")
[1] "'A Sheet'!B1:F7"

[Package cellranger version 1.1.0 Index]