error in getsymbol function
1
0
Entering edit mode
@farahqureshi5-12184
Last seen 7.2 years ago

Greetings!!

i wnat to annotating the results with associated gene symbols but i am not getting an error

gene.symbols <- getSYMBOL(probeset.list$ID, "hgu133plus2")
           Error in unlist(lookUp(x, data, "SYMBOL")) :
            error in evaluating the argument 'x' in selecting a method for function 'unlist': Error in lookUp(x,         data, "SYMBOL") : No keys provided

symbol • 1.3k views
ADD COMMENT
0
Entering edit mode
Guido Hooiveld ★ 4.1k
@guido-hooiveld-2020
Last seen 3 days ago
Wageningen University, Wageningen, the …

Without providing more code it is rather difficult to help, but:

- the error message indicates that the object probeset.list$ID is empty.

- you are using an outdated interface to query annotation databases; you'd better either use select() or mapIds(). See ?select or ?mapIds after loading the library AnnotationDbi for more information on these functions.

ADD COMMENT

Login before adding your answer.

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