Error: could not find function "godata"
0
1
Entering edit mode
anton.kratz ▴ 60
@antonkratz-8836
Last seen 2 days ago
Japan, Tokyo, The Systems Biology Insti…

I am trying to use GOSemSim, code which run previously does not run anymore. It does not seem to fin the function godata, but why? Minimal reproducible example:
 

​> library("GOSemSim")
> library("org.Sc.sgd.db")
> library("GO.db")
> yeastGO <- godata('org.Sc.sgd.db', keytype = "ENSEMBL", ont="BP", computeIC = TRUE)
Error: could not find function "godata"

I am using R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree".

gosemsim • 1.7k views
ADD COMMENT
1
Entering edit mode

It looks like you are using an outdated version of R and therefore also outdated Bioconductor packages. I might suggest updating the version of R to 3.5.0 and Bioconductor to 3.7, as I can run your minimal example with no errors. In the future it will also help to include your sessionInfo() so we know your system os and versions of packages.

ADD REPLY
0
Entering edit mode

Thank you, yes, I could now make it work with R 3.4!

(Could not install R 3.5 because this led to some package confusion loop).

R version 3.2.3 is what comes with Ubuntu 16.04 LTS so I think a great number of people are using it. I am not contradicting you, just saying that although 3.2.3 might be outdated, it is still very widespread I think.

ADD REPLY

Login before adding your answer.

Traffic: 996 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6