Skip to contents

Extract NMF basis matrix from SingleCellExperiment object

Usage

getBasis(x, name = "NMF")

Arguments

x

A SingleCellExperiment object with NMF results

name

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

Value

Matrix with features x factors (basis matrix)

Examples

# sce <- runNMFscape(sce, k = 10)
# basis <- getBasis(sce)