GO similarity by GOSemSim
0
0
Entering edit mode
ahatashkar • 0
@ahatashkar-16156
Last seen 6.5 years ago

Hi 

I am using GOSemSim package for GO similarity calculation. I have a list of Uniprot gene IDs. My dataset is S. cerevisiae. so I code as below:

hsGO2 <- godata('org.Hs.eg.db', keytype = "UNIPROT", ont="MF", computeIC=FALSE)

genes <- c("P25044", "P40454", "P32901", "P43606")

mgeneSim(genes, semData=hsGO2, measure="Wang", combine="BMA", verbose=FALSE)

but after that, I just get this answer: 

Error in go_matrix[gos[[i]], gos[[j]]] : incorrect number of dimensions

Please help me. Thank you

gosemsim similarity • 1.3k views
ADD COMMENT
0
Entering edit mode

> select(org.Hs.eg.db, keys = genes, "GO", keytype = "UNIPROT")
Error in .testForValidKeys(x, keys, keytype, fks) :
  None of the keys entered are valid keys for 'UNIPROT'. Please use the keys method to see a listing of valid arguments.
> genes
[1] "P25044" "P40454" "P32901" "P43606"
ADD REPLY

Login before adding your answer.

Traffic: 452 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