montilab / hypeR

An R Package for Geneset Enrichment Workflows
https://montilab.github.io/hypeR-docs/
GNU General Public License v3.0
76 stars 11 forks source link

error in GSEA about weighted signatures #36

Closed viviyanran closed 3 years ago

viviyanran commented 3 years ago

I conducted the function hypeR: hyp_obj <- hypeR(signature, geneset_1,fdr=0.05,plotting = T,test = 'kstest'), the signature is weighted, but it returned Error in apply(results[, c("score", "pval", "geneset", "overlap")], 2, : dim(X) must have a positive length. And my geneset was a custom geneset. I cannot get the plot.

anfederico commented 3 years ago

Could you show the format of your signature and custom geneset?