jmw86069 / multienrichjam

Analysis and Visualization of Multiple Gene Set Enrichments
24 stars 4 forks source link

enrichDF2enrichResult Error: 'undefined columns selected' #8

Open parkerstevenson opened 1 year ago

parkerstevenson commented 1 year ago

Hello!

I'm currently trying to convert my fGSEA result data.frame into an enrichResult for further processing using the enrichplot package, however, I'm currently getting the following error in response to this input:

 >   fgsea3_1res <-enrichDF2enrichResult(
+     enrichDF = fgsea3_1,
+     pvalueCutoff = 0.05,
+     pAdjustMethod = "BH",
+     keyColname = c("pathway"),
+     pathGenes = "leadingEdge",
+     geneColname = c("leadingEdge"),
+     geneHits = "geneHits",
+     geneRatioColname = c("GeneRatio", "^Ratio"),
+     geneDelim = ",",
+     geneSep = ",",
+     pvalueColname = c("pval", "padj"),
+     descriptionColname = c("pathway"),
+     msigdbGmtT = NULL,
+     verbose = FALSE,
+     )
Error in `[.data.frame`(x, i, j, drop) : undefined columns selected

Any advice is appreciated!