Entering edit mode
mkang1996
•
0
@mkang1996-21377
Last seen 5.3 years ago
I was wondering what "universe" for enrichMesh function accepts as an input.
{R}
library(meshes)
x <- enrichMeSH(my.geneID3[,3], MeSHDb = "MeSH.Hsa.eg.db", database='gene2pubmed', category = 'C',universe = univ.geneID3[,2])
here, univ.geneID3[,2] is a list of entrez gene ids but I get the error
Error in validObject(.Object) : invalid class "enrichResult" object: invalid object for slot "universe" in class "enrichResult": got class "integer", should be or extend class "character"
thanks so much!
michelle
already answer in https://github.com/GuangchuangYu/meshes/issues/2.