Closed acaulier closed 2 years ago
@acaulier
Hi, could you provide the pathways
and stats
, please? It would help me to reproduce the error.
@vdsukhov I eventually got around this error by using: collapsedPathways <- collapsePathways(fgsea_CP[order(pval)][padj < 0.1], pathways_cp, foldchanges)
instead of the pval.threshold argument
Thank you for assistance!
Hello, I'm running a gsea analysis using msigdbr package, with following code : fgsea_CP <- fgsea(stats = foldchanges, pathways = pathways_cp, minSize = 10, maxSize = 1000 )
If filtering for padj<0.01, i get 32 pathways, and most of them seem similar (cell cycle features)
So i wanted to collapse them, and ran this command : collapsePathways( fgsea_CP, pathways_cp, foldchanges, pval.threshold = 0.05, nperm = 10/pval.threshold, gseaParam = 1 )
But i got this error then : Error in fgseaSimple(pathways = pathways[pathwaysUp], stats = stats[u1], : object 'pval.threshold' not found Traceback:
Any recommendation to correct it?
Thank you!