
Get the cells to keep
get_cells_to_keep.RdReturns the indices of the cells that survived quality control. These are stored 0-indexed for Rust, so add one before using them in R.
Usage
get_cells_to_keep(x)
# S3 method for class 'ScMap'
get_cells_to_keep(x)
## S7 method for class <bixverse::SingleCells>
get_cells_to_keep(x)
## S7 method for class <bixverse::SingleCellsSubset>
get_cells_to_keep(x)Examples
# 0-based for Rust, so add one before indexing in R
sc <- demo_single_cells(prepped = FALSE)
head(get_cells_to_keep(sc) + 1, 3)
#> [1] 1 2 3
unlink(sc@dir_data, recursive = TRUE, force = TRUE)