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.
RunCoGAPS() runs the CoGAPS (Coordinated Gene Activity in Pattern Sets) algorithm on a Seurat object. It decomposes the expression matrix into latent patterns via sparse Bayesian NMF, storing results as a DimReduc object.
Syntax
Parameters
A Seurat object.
Assay to pull expression data from. Defaults to the active default assay.
Slot within the assay to use. Data is log2-transformed (
log2(x + 1)) internally before being passed to CoGAPS.A
CogapsParams object specifying CoGAPS settings such as nPatterns, nIterations, singleCell, sparseOptimization, and distributed mode. If NULL, CoGAPS runs with default parameters.If
TRUE, creates a temporary .mtx file for the data matrix (required for distributed CoGAPS). If a string, uses that path as the temporary file. Leave NULL for in-memory execution.Name for the resulting DimReduc object stored in the Seurat object.
Column name prefix for the CoGAPS embedding dimensions.
Additional parameters passed to
CoGAPS::CoGAPS().Returns
A Seurat object with a new DimReduc object stored underreduction.name. Cell embeddings correspond to sampleFactors and feature loadings correspond to featureLoadings from the CoGAPS result.