Question: org.Hs.eg.db - convert ALIAS to ENTREZID, GENENAME
1
gravatar for Brian Smith
4.1 years ago by
Brian Smith120
United States
Brian Smith120 wrote:

Hi,

I used to convert gene aliases to entrez ids etc with the following code:

mysymbols <- c("TLR4",  "STAT3")

library("org.Hs.eg.db")
matx <- maty <- select(org.Hs.eg.db, keys=mysymbols, columns=c("ENTREZID","GENENAME"), keytype="ALIAS")

Now, I get an error:

Error in select(org.Hs.eg.db, keys = mysymbols, columns = c("ENTREZID",  : 
  unused arguments (keys = gsymbols2, columns = c("ENTREZID", "GENENAME"), keytype = "ALIAS")

Has something changed in the package/select method? Am I doing something wrong?

thanks!!

org.hs.eg.db select • 2.2k views
ADD COMMENTlink modified 4.1 years ago • written 4.1 years ago by Brian Smith120
Answer: org.Hs.eg.db - convert ALIAS to ENTREZID, GENENAME
3
gravatar for Martin Morgan
4.1 years ago by
Martin Morgan ♦♦ 24k
United States
Martin Morgan ♦♦ 24k wrote:

Probably another package has defined a select() function; try

AnnotationDbi::select(org.Hs.eg.db, keys=mysymbols,   
    columns=c("ENTREZID","GENENAME"), keytype="ALIAS")

The output of sessionInfo() is always helpful for further diagnosis.

ADD COMMENTlink modified 4.1 years ago • written 4.1 years ago by Martin Morgan ♦♦ 24k
Answer: org.Hs.eg.db - convert ALIAS to ENTREZID, GENENAME
1
gravatar for Brian Smith
4.1 years ago by
Brian Smith120
United States
Brian Smith120 wrote:

Thanks! That worked!!

ADD COMMENTlink written 4.1 years ago by Brian Smith120
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 218 users visited in the last hour