[BioC] Annotation.db: how automatically call a mapping?

Hooiveld, Guido Guido.Hooiveld at wur.nl
Mon Jun 29 22:10:16 CEST 2009


Thanks. This indeed does work!

G

 

> -----Original Message-----
> From: bioconductor-bounces at stat.math.ethz.ch 
> [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of 
> John Zhang
> Sent: 29 June 2009 21:51
> To: bioconductor at stat.math.ethz.ch; Hooiveld, Guido
> Subject: Re: [BioC] Annotation.db: how automatically call a mapping?
> 
> 
> >> symbols <- mget(probeids, gh[33])
> >Error in mget(probeids, gh[33]) : second argument must be an 
> >environment
> 
> Have you tried 
> 
> symbols <- mget(probeids, get(gh[33]))
> 
> 
> > 
> >This also doesn't work:
> >> symbols <- mget(probeids, envir=gh[33])
> >Error in mget(probeids, envir = gh[33]) : 
> >  second argument must be an environment
> > 
> >My approach thus is the wrong approach to automatically extract 
> >mappings from a annotation.db.
> >Since i don't know about any other possibility, i would 
> appreciate if 
> >someone could point me to a working solution.
> > 
> >Thanks,
> >Guido
> > 
> >
> >------------------------------------------------ 
> >Guido Hooiveld, PhD 
> >Nutrition, Metabolism & Genomics Group 
> >Division of Human Nutrition 
> >Wageningen University 
> >Biotechnion, Bomenweg 2 
> >NL-6703 HD Wageningen 
> >the Netherlands 
> >tel: (+)31 317 485788 
> >fax: (+)31 317 483342 
> >internet:   http://nutrigene.4t.com <http://nutrigene.4t.com/>  
> >email:      guido.hooiveld at wur.nl 
> >
> >
> >
> >	[[alternative HTML version deleted]]
> >
> >_______________________________________________
> >Bioconductor mailing list
> >Bioconductor at stat.math.ethz.ch
> >https://stat.ethz.ch/mailman/listinfo/bioconductor
> >Search the archives: 
> http://news.gmane.org/gmane.science.biology.informatics.conductor
> 
> Jianhua Zhang
> Department of Medical Oncology
> Dana-Farber Cancer Institute
> 44 Binney Street
> Boston, MA 02115-6084
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> 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