runExprProgram: runExprProgram

View source: R/scAnnotation.R

runExprProgramR Documentation

runExprProgram

Description

Perform non-negative matrix factorization (NMF) to identify expression programs.

Usage

runExprProgram(
  expr,
  rank = 50,
  sel.clusters = NULL,
  clusterStashName = "default",
  savePath = NULL
)

Arguments

expr

A Seurat object.

rank

An integer of decomposition rank used in NMF.

sel.clusters

A vector of selected clusters to analyze. The default is NULL and all clusters will be used.

clusterStashName

A character string used as the name of cluster identies. The default is "default".

savePath

A path to save the results files. If NULL, the 'statPath' will be used instead.

Value

A list of decomposed matrixes (W and H), and the relative genes of each programs.


wguo-research/scCancer documentation built on May 26, 2024, 9:12 p.m.