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.
|
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.
Current
runGSEAis hardcoded to perform enrichment analysis withfgsea::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
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.