Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in enrichMeSH: trying to get slot "result" from an object of a basic class ("NULL") with no slots #6

Open
amizeranschi opened this issue Jan 23, 2022 · 1 comment

Comments

@amizeranschi
Copy link

Hello,

I am trying to run the code from the basic example from the documentation of the enrichMeSH function, but this results in an error:

library(meshes)
library(AnnotationHub)
ah <- AnnotationHub()
qr_hsa <- query(ah, c("MeSHDb", "Homo sapiens"))
filepath_hsa <- qr_hsa[[1]]
db <- MeSHDbi::MeSHDb(filepath_hsa)
data(geneList, package="DOSE")
de <- names(geneList)[1:100]
x <- enrichMeSH(de, MeSHDb = db, database='gendoo', category = 'C')
--> No gene can be mapped....
--> Expected input gene ID: 
--> return NULL...
Error in enrichMeSH(de, MeSHDb = db, database = "gendoo", category = "C") : 
  trying to get slot "result" from an object of a basic class ("NULL") with no slots

I am using version 1.20.0 of the meshes package in R version 4.1.2.

@amizeranschi
Copy link
Author

@GuangchuangYu

Could you please help with this issue? I tried again with the latest package version and I'm getting the same error. Both enrichMeSH and gseMeSH seem to be broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant