Hi,
For my study, I have to convert gene symbols to Entrez IDs. So, by using "org.Dr.eg.db" package and my annotation file(annot) I wrote below code:
library("org.Dr.eg.db") keytypes(org.Dr.eg.db) k= c("RP11-34P13.7","DDX11L1","RP4-591L5.1" ) kname<- bitr(k, fromType="SYMBOL", toType=("ENTREZID"), OrgDb="org.Dr.eg.db")
unfortunately, I got this error:
Error in .testForValidKeys(x, keys, keytype, fks) :
None of the keys entered are valid keys for 'SYMBOL'. Please use the keys method to see a listing of valid arguments.
I appreciate if any body share his/her comment with me.
Best Regards,
Correction: org.Dr.eg.db is for Zebrafish (Danio rerio). Use org.Hs.eg.db for Human (Homo sapiens), org.Dm.eg.db for Fruit Fly (Drosophila melanogaster). Annotation package names depend on the latin names for species.