Skip to contents

Extract consensus gene expression programs (GEPs) from cNMF results

Usage

getConsensusGEPs(x, name = "cNMF", k = NULL)

Arguments

x

A SingleCellExperiment object with cNMF results

name

Character, name of the cNMF result to extract (default "cNMF")

k

Integer, which k value to extract. If NULL, uses optimal k

Value

Matrix with features x programs (consensus basis matrix)

Examples

# sce <- runConsensusNMF(sce, k_range = 5:10)
# geps <- getConsensusGEPs(sce)