I'm not very experienced with bioconductor and R, and I am struggling with converting a list of gene symbols I've read in from a .csv file into R into their relevant ENTREZ ID(s). I was wondering if anyone had any tips for how to address this? The code I'd been attempting to use was the following:
>prog<-read.csv(file="mydata.csv," header=TRUE, sep="/")
> gns<-select(org.Hs.eg.db, prog, c("ENTREZID","GENENAME"))
Error in .testForValidKeys(x, keys, keytype, fks) :
None of the keys entered are valid keys for 'ENTREZID'. Please use the keys method to see a listing of valid arguments.
Many thanks for your help!