enrichDF2enrichResult Error: 'undefined columns selected'
Opened this issue · 0 comments
parkerstevenson commented
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!