[BioC] Annotate package not working

Dan Tenenbaum dtenenba at fhcrc.org
Thu Jan 9 20:45:08 CET 2014



----- Original Message -----
> From: "Ryan C. Thompson" <rct at thompsonclan.org>
> To: "bioconductor" <Bioconductor at r-project.org>
> Sent: Thursday, January 9, 2014 11:31:28 AM
> Subject: [BioC] Annotate package not working
> 
> 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?
> 

Can you send your sessionInfo()?
It works for me in release and devel.

Dan


> -Ryan Thompson
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>



More information about the Bioconductor mailing list