[BioC] Passing a Bioconductor environment to a function

Raffaele Calogero raffaele.calogero at unito.it
Tue May 24 14:10:12 CEST 2005


I would like to change the required Bioconductor annotation package in a 
function, how can I do it?
I tried:
"my.funct"<-function(gNsel, pValue, mgu74av2){
    require(as.environment(mgu74av2))
    ....
}

but it does not work.

Any suggestions?
Thanks a lot
Raffaele

-- 

----------------------------------------
Prof. Raffaele A. Calogero
Bioinformatics and Genomics Unit
Dipartimento di Scienze Cliniche e Biologiche
c/o Az. Ospedaliera S. Luigi
Regione Gonzole 10, Orbassano
10043 Torino
tel.   ++39 0116705420
Lab.   ++39 0116705408
Fax    ++39 0119038639
Mobile ++39 3333827080
email: raffaele.calogero at unito.it
www:   www.bioinformatica.unito.it



More information about the Bioconductor mailing list