Documentation Index
Fetch the complete documentation index at: https://mintlify.com/satijalab/seurat-wrappers/llms.txt
Use this file to discover all available pages before exploring further.
RunOptimizeALS() wraps the LIGER optimizeALS algorithm to perform integrative non-negative matrix factorization (iNMF) on a merged Seurat object. Each dataset’s cells share a common factor matrix W while having dataset-specific matrices H and V.
Syntax
Parameters
A merged Seurat object containing cells from multiple datasets.
Number of factors (latent dimensions) to compute.
Assay to use. Defaults to the active default assay.
Metadata column used to split cells into per-dataset subsets.
Regularization parameter. Larger values increase dataset-specific penalty.
Convergence threshold for the ALS objective.
Maximum number of ALS iterations.
Name for the resulting DimReduc object.
Prefix for the iNMF embedding column names.
Number of restarts. The best factorization is kept.
Initial value for the H (cell factor) matrices.
Initial value for the W (shared gene factor) matrix.
Initial value for the V (dataset-specific gene factor) matrices.
Random seed for reproducibility.
Print the objective value at each iteration.
Returns
A Seurat object with:- A DimReduc under
reduction.namecontaining iNMF cell embeddings and feature loadings - Per-dataset feature loading matrices stored in the
Toolslot (accessible viaTool(object))