\Header{GOPkgBuilder}{A functions to builder a data package using GO data}
\keyword{manip}{GOPkgBuilder}
\begin{Description}\relax
This function builds creates data, documentation, and other supporting
files that consist a normal R package using data from GO.\end{Description}
\begin{Usage}
\begin{verbatim}
GOPkgBuilder(pkgName = "GO", pkgPath, version = "1.2.1", srcUrl = getSrcUrl("GO", xml = TRUE), author = c(name = "who", address = "who@email.com"))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkgName}] \code{pkgName} a character string for the name of the
data package to be built
\item[\code{pkgPath}] Describe \code{pkgPath} a character string for the path
to which the data package to be built will be stored
\item[\code{version}] \code{version} a character string for the version
number of the data package
\item[\code{srcUrl}] \code{srcUrl} a character string for the url where the
source data that will be used to build the data package are stored
\item[\code{author}] \code{author} a named vector of character string with a
name element for the name of the author and address element for the
email address of the author
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This package relies on the xml data file from
\url{http://www.godatabase.org/dev/database/archive/2003-04-01/go_200304-termdb.xml.gz} to obtain the data. The url changes when data are updated. The system has built in code to figure out where the latest data are and use that data to build the data package.\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
\url{http://www.godatabase.org}\end{References}
\begin{SeeAlso}\relax
\code{\Link{ABPkgBuilder}}, \code{\Link{KEGGPkgBuilder}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
if(interactive()){
GOPkgBuilder(pkgName = "GO", pkgPath = tempdir(), version = "1.2.1",
srcUrl = "http://www.bioconductor.org/datafiles/wwwsources/Tgo.xml",
author = c(name = "who", address = "who@email.com"))
list.files(file.path(tempdir(), "GO"))
unlink(file.path(tempdir(), "GO"), TRUE)
}
\end{ExampleCode}
\end{Examples}

