\Header{KEGGPkgbuilder}{A function to make the data package for KEGG}
\alias{getEIdNName}{KEGGPkgbuilder}
\alias{getKEGGFile}{KEGGPkgbuilder}
\alias{KEGGPkgBuilder}{KEGGPkgbuilder}
\keyword{manip}{KEGGPkgbuilder}
\begin{Description}\relax
This function generates a data package with rda files mapping KEGG
pathway or enzyme names to ids and vice versa. The source files for
making the mapping are from the Internet.\end{Description}
\begin{Usage}
\begin{verbatim}
KEGGPkgBuilder(pkgPath, pkgName = "KEGG", version = "1.0.1", pathwayURL
= getKEGGFile("path"), enzymeURL = getKEGGFile("enzyme"), force = TRUE,
author = c(name = "who", address = "who@email.com")) 
getEIdNName(enzymeURL)
getKEGGFile(whichOne)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkgPath}] A character string for the name of path to which the
data package will be stored.
\item[\code{pkgName}] A character string for the name of the data package.
\item[\code{version}] A character string for the version number of the system
by which the data package is generated.
\item[\code{fromWeb}] A boolean to indicate whether the source file fill be
from the web or a default local directory.
\item[\code{pathwayURL}] A character string for the URL where the source file
for pathway data will be downloaded.
\item[\code{enzymeURL}] A character string for the URL from which the source
file for enzyme data will be downloaded.
\item[\code{force}] A boolean to indicate whether the existing data package
will be over written.
\item[\code{whichOne}] A charcter string for the name of file type. Valid
values include "path" or "enzyme"
\item[\code{author}] A list of character strings with one element being name
for the name of the author and another being address being the email
address of the author
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The data package produced will have the normal structure of an R
package (i. g. with R, man, data, and src directories) under a
directory defined by pkgName under pkgPath.\end{Details}
\begin{Value}
This function does not return any value.\end{Value}
\begin{Note}\relax
This function is part of the Bioconductor project at Dana-Farber
Cancer Institute to provide Bioinformatics functionalities through R.\end{Note}
\begin{Author}\relax
Jianhua Zhang\end{Author}
\begin{References}\relax
An Introduction to R - Writting R Extensions.\end{References}
\begin{SeeAlso}\relax
\code{\Link{package.skeleton}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
# To be added
\end{ExampleCode}
\end{Examples}

