[BioC] All the functions in a BioC package

James W. MacDonald jmacdon at med.umich.edu
Tue Feb 28 22:13:49 CET 2006


James W. MacDonald wrote:
> Khan, Sohail wrote:
> 
>>Dear List,
>>
>>Excuse me, for asking such a fundamental question.  How can I find what functions are available in a BioC package?
> 
> 
> Either
> help(package = "packagename")
> -or-
> help.start()
> 
> for user visible functions,
> 
> -or-
> 
> library(packagename)
> ls("package:packagename")
> 
> to see all functions.

Well, not quite *all* the functions. If the package has a namespace, 
then you won't be able to see the functions that are sealed in the 
namespace using ls().

There may be a way to spit out all the functions from within R including 
those in the namespace, but I don't know how. The only way I know to get 
everything is to get the source package and troll through the files in 
the packagename/R directory.

Jim


-- 
James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623



More information about the Bioconductor mailing list