Re: [Bioc-devel] Passing packages as variables?

2017-06-10 Thread Charles Plessy
Le Sat, Jun 10, 2017 at 03:11:37PM -0400, Zach Skidmore a écrit : > > genome <- findCorrectGenome() > library(genome, character.only=T) > refBases <- getSeq(genome, Granges) > detach(genome, unload = T, character.only = T) > > It feels wrong to have library calls like this within the package thou

[Bioc-devel] Passing packages as variables?

2017-06-10 Thread Zach Skidmore
Hi all, I maintain the GenVisR package. I am currently working on an update to provide support for VEP, the problem is I need to grab the reference sequence for locations in the VEP file. I know how to do this with BSgenome however within the package methods I need to figure out a way to load t