Getter the counts
get_sc_counts.RdGetter the counts
Arguments
- object
SingleCells,MetaCellsclass.- assay
String. Which slot to return. One of
c("raw", "norm"). Defaults to"raw".- return_format
String. One of
c("cell", "gene"). Return data in cell-centric compressed format (CSR) or gene-centric compressed format (CSC). Defaults to"cell". Not relevant forMetaCells.- cell_indices
Optional cell indices.
- gene_indices
Optional gene indices.
- use_cells_to_keep
Boolean. Shall cells to keep be found in the class, shall the counts be reduced to these. Not relevant for
MetaCells.- .verbose
Boolean. Controls verbosity of the function.