Skip to content

runGSEA actually perform simple overrepresentation analysis, not GSEA #43

Description

@liuzhenyu-yyy

Current runGSEA is hardcoded to perform enrichment analysis with fgsea::fora, which utilize hypergeometric test to evaluate overrepresentation of reference gene set (msigdb gene sets) within given query gene set (MP genes), see https://rdrr.io/bioc/fgsea/man/fora.html.

GeneNMF/R/main.R

Lines 566 to 571 in be6cb8f

fgRes <- fgsea::fora(pathways = DB_list,
genes = genes,
universe = universe)
fgRes <- fgRes[fgRes$pval <= pval.thr,]
return(fgRes)

This is generally considered as GO enrichment analysis, which returns fold enrichment and P values, not GSEA analysis, which returns NES and p values. Current function and manuals might be misleading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions