nanxstats / protr

🧬 Toolkit for generating various numerical features of protein sequences

Home Page:https://nanx.me/protr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error when running parGOSim()

deniseduma opened this issue · comments

Hi,

I'm trying to use the function parGOSim(). However, when running the example in the vignette on my Linux machine

genelist = list(c("150", "151", "152", "1814", "1815", "1816"))
gsimmat2 = parGOSim(genelist, type = "gene")
print(gsimmat2)

I get the following error:

Error in GOSemSim::mgeneSim(unlist(golist), ont = ont, organism = organism, :
unused arguments (ont = ont, organism = organism)

It seems that somehow the call to a function in the GOSemSim package goes wrong.

Could you please fix this problem in protr so I can use parGOSim()?

Thank you,
Denise

Hi @deniseduma -thanks for the feedback! It looks like the twoGOSim and parGOSim function and code examples are both not working due to some upstream API changes. I've just updated them all and submitted a new version to CRAN (v1.6-0). Before the new version is available on CRAN, you can try the GitHub version with devtools::install_github("road2stat/protr"). Hope this helps! -Nan

Thank you!!