GOPkgBuilder           package:AnnBuilder           R Documentation

_A _f_u_n_c_t_i_o_n_s _t_o _b_u_i_l_d_e_r _a _d_a_t_a _p_a_c_k_a_g_e _u_s_i_n_g _G_O _d_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     This function builds creates data, documentation, and other
     supporting files that consist a normal R package using data from
     GO.

_U_s_a_g_e:

     GOPkgBuilder(pkgName = "GO", pkgPath, version = "1.2.1", srcUrl = getSrcUrl("GO", xml = TRUE), author = c(name = "who", address = "who@email.com"))

_A_r_g_u_m_e_n_t_s:

 pkgName: 'pkgName' a character string for the name of the data package
          to be built

 pkgPath: Describe 'pkgPath' a character string for the path to which
          the data package to be built will be stored

 version: 'version' a character string for the version number of the
          data package

  srcUrl: 'srcUrl' a character string for the url where the source data
          that will be used to build the data package are stored

  author: '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

_D_e_t_a_i_l_s:

     This package relies on the xml data file from <URL:
     http://www.godatabase.org/dev/database/archive/2003-04-01/go_20030
     4-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.

_V_a_l_u_e:

     This function does not return any value

_N_o_t_e:

     This function is part of the Bioconductor project at Dana-Farber
     Cancer Institute to provide Bioinformatics functionalities through
     R

_A_u_t_h_o_r(_s):

     Jianhua Zhang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.godatabase.org>

_S_e_e _A_l_s_o:

     'ABPkgBuilder', 'KEGGPkgBuilder'

_E_x_a_m_p_l_e_s:

     if(interactive()){
     GOPkgBuilder(pkgName = "GO", pkgPath = tempdir(), version = "1.2.1",
     srcUrl = "http://www.bioconductor.org/datafiles/wwwsources/Tgo.xml",
     author = c(author = "who", maintainer = "who@email.com"))
     list.files(file.path(tempdir(), "GO"))
     unlink(file.path(tempdir(), "GO"), TRUE)
     }

