perform_nmf: perform_nmf

View source: R/perform_nmf.R

perform_nmfR Documentation

perform_nmf

Description

Perform NMF and create gene modules from expression matrix. Slightly modified code from Reuben and Dalia.

Usage

perform_nmf(seurat_obj, rank = 20, cluster_name)

Arguments

seurat_obj

Seurat object.

rank

Rank for NMF, default = 20.

cluster_name

Name of cluster or clusters you want to run NMF on.

Value

NMF results list with matrix, modules, scores and coef.


mvhunter1/mvhfunctions documentation built on May 31, 2024, 3:36 p.m.