Question: how to add background gene set to enrichMesh
0
gravatar for mkang1996
4 months ago by
mkang19960
mkang19960 wrote:

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

meshes • 154 views
ADD COMMENTlink written 4 months ago by mkang19960

already answer in https://github.com/GuangchuangYu/meshes/issues/2.

ADD REPLYlink written 4 months ago by Guangchuang Yu1.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 322 users visited in the last hour