SPPkgBuilder           package:AnnBuilder           R Documentation

_A _f_u_n_c_t_i_o_n _t_o _b_u_i_l_d _a _d_a_t_a _p_c_k_a_g_e _u_s_i_n_g _S_w_i_s_s-_P_r_o_t _p_r_o_t_e_i_n _d_a_t_a

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

     Given the URL to Swiss-Prot protein data, this function creates a
     data package with the data stored as R environment objects in the
     data directory

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

     SPPkgBuilder(pkgPath, version, author, fromWeb = TRUE, url =
     "ftp://ftp.ebi.ac.uk/pub/databases/swissprot/release/sprot41.dat")
     getDetailV(key)
     getEnvNames()
     isOneToOne(envName)

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

 pkgPath: 'pkgPath' a character string for the path where the data
          package created will be stored

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

  author: 'author' a list with an author elementfor the name of the
          author of the data package and a maintainer element for the
          name and email address of the maintainer of the dat package
          to be created

 fromWeb: 'fromWeb' a boolean indicating whether the data will be read
          from the internet or locally

     url: 'url' an URL of file name to read the data from

     key: 'key' a character string for the name of Swiss-Prot
          annotation element, e. g. "Swiss-Prot accession number"

 envName: 'envName' a character string for the name of an environment
          object

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

     If 'fromWeb' is FALSE, url will be the file name of a local file.

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

     This function returns NULL

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

     Jianhua Zhang

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

     <URL:
     ftp://ftp.ebi.ac.uk/pub/databases/swissprot/release/sprot41.dat>

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

     'ABPkgBuilder'

