
Getter the var table
get_sc_var.RdGetter the var table
Usage
get_sc_var(object, indices = NULL, cols = NULL, modality = c("rna", "adt"))Examples
# the per gene statistics the HVG step wrote
sc <- demo_single_cells()
head(get_sc_var(sc, cols = c("gene_id", "mean", "var_std")), 3)
#> gene_id mean var_std
#> <char> <num> <num>
#> 1: gene_01 11.922 0.9063808
#> 2: gene_02 10.294 0.8359538
#> 3: gene_03 12.002 0.7752684
unlink(sc@dir_data, recursive = TRUE, force = TRUE)