[BioC] Annotate package not working

Ryan C. Thompson rct at thompsonclan.org
Thu Jan 9 20:31:28 CET 2014


Hi all,

I'm having some trouble using the "lookUp" function in the "annotate" 
package. Every time I try to call it, I get the following error:

Error in as.list.default(envir) :
   no method for coercing this S4 class to a vector

I can generate this error with the following short test case:

library(org.Hs.eg.db)
library(annotate)
entrez.ids <- as.character(1:10)
lookUp(entrez.ids,
        data="org.Hs.eg",
        what="SYMBOL")

Alternatively, simply running the example from the lookUp help page also 
produces the error.

Can anyone help me get this working again?

-Ryan Thompson



More information about the Bioconductor mailing list