Prepare gene sets for enrichment analysis from NMF programs
Source:R/geneAnalysis.R
prepareProgramGeneSets.Rd
Extracts top genes from each NMF program and prepares them for gene set enrichment analysis. Returns both gene lists and a summary table.
Examples
sce <- runNMFscape(sce, k = 8)
#> Error: object 'sce' not found
gene_sets <- prepareProgramGeneSets(sce, n_genes = 100)
#> Error: object 'sce' not found
# Use with clusterProfiler, fgsea, etc.