
Get the cell idx (R-based) and cell names
get_cell_info.RdReturns the cell indices (R-based) and the cell names (usually barcodes) from the object for further downstream usage.
Usage
get_cell_info(x, filtered = TRUE)
# S3 method for class 'ScMap'
get_cell_info(x, filtered = TRUE)
## S7 method for class <bixverse::SingleCells>
get_cell_info(x, filtered = TRUE)Examples
# cell indices carrying the barcodes as names
sc <- demo_single_cells(prepped = FALSE)
head(get_cell_info(sc), 3)
#> cell_001 cell_002 cell_003
#> 1 2 3
unlink(sc@dir_data, recursive = TRUE, force = TRUE)