Skip to contents

Extract NMF coefficient matrix from SingleCellExperiment object

Usage

getCoefficients(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 cells x factors (coefficient matrix, same as reducedDim)

Examples

# sce <- runNMFscape(sce, k = 10)
# coeffs <- getCoefficients(sce)