Skip to contents

Calculate feature loadings (which genes contribute most to each factor)

Usage

getTopFeatures(x, name = "NMF", n = 10)

Arguments

x

A SingleCellExperiment object with NMF results

name

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

n

Integer, number of top features to return per factor (default 10)

Value

List of character vectors, each containing top features for a factor

Examples

# sce <- runNMFscape(sce, k = 10)
# top_genes <- getTopFeatures(sce, n = 20)