
LSI over the TF-IDF of the kept cells
calculate_lsi_sc.RdSignac's RunSVD(). The embedding (components z-scored over the cells)
goes to the ATAC cache as "lsi", for find_neighbours_sc(),
harmony_sc(), umap_sc() and
generate_wnn_graph_sc() with modality = "atac",
embd_to_use = "lsi". The loadings, singular values and features are kept
for project_lsi_sc().
Usage
calculate_lsi_sc(
object,
features = NULL,
lsi_params = params_atac_lsi(),
seed = 42L,
.verbose = TRUE
)Arguments
- object
SingleCellsAtacorSingleCellsMultiModalclass, afterrun_tfidf_sc().- features
Optional integer vector. 1-based features.
NULLtakestop_featurefrom the feature table iffind_top_features_sc()ran, else all.- lsi_params
List. Output of
params_atac_lsi().- seed
Integer. Seed of the solver.
- .verbose
Boolean. Controls verbosity.