This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Mapping IDs to systematic names (GOSim, setevidencelevel() )

Hi,

I want to use the GoSim package to calculate the IC similarity. I'm trying to set the parameters of setEvidenceLevel(), but wrong. What mapping to use for the gomap parameter, please? So my problem is with mapping IDs to systematic names. I'm a computer scientist, not a bioinformatician, so I apologize for the possibly stupid question.

I use the same vector as used here: Translating gene names to entrez id's

genes <- c('BRCA1', 'BRCA2', 'BRCC3', 'ATM', 'TP53')
library(org.Hs.eg.db) 
library(GOSim) 
setEvidenceLevel(evidences =  "all", organism=org.Hs.egORGANISM, gomap=org.Hs.egGO)  
setOntology("BP") 
getGOInfo('BRCA1')

I always get an error :

„getGOInfo("BRCA1") : No GO information available for these genes!“

The same holds for

 setEvidenceLevel(evidences =  "all", organism=org.Hs.egORGANISM, gomap=org.Hs.egSYMBOL)

Select() works, see: Translating gene names to entrez id's

I am trying to do it in the same manner as recommended for Yeast here https://support.bioconductor.org/p/45669/#93785 which works for me.

gosim

0 answers

No answers yet.

Log in to answer this question.