YG-class             package:AnnBuilder             R Documentation

_C_l_a_s_s "_Y_G" _a _s_u_b-_c_l_a_s_s _o_f _p_u_b_R_e_p_o _t_h_a_t _r_e_a_d_s/_d_o_w_n_l_o_a_d_s _d_a_t_a _f_r_o_m
_y_e_a_s_t _g_e_n_o_m_i_c

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

     This class is a sub-class ob pubRepo that has source specific
     functions to extract data from Yeast Genome ftp site (<URL:
     ftp://genome-ftp.stanford.edu/pub/yeast/data_download/>)

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("YG", ...)'. A
     constructor (YG) is available and should be used to instantiate
     objects of this class

_S_l_o_t_s:

     '_s_r_c_U_r_l': Object of class '"character", from class "pubRepo"' a
          character string for the url where surce data are available
          (<URL:
          ftp://genome-ftp.stanford.edu/pub/yeast/data_download/> at
          the time of coding)

     '_p_a_r_s_e_r': Object of class '"character", from class "pubRepo"' not
          in use

     '_b_a_s_e_F_i_l_e': Object of class '"character", from class "pubRepo"'
          not in use

_E_x_t_e_n_d_s:

     Class '"pubRepo"', directly.

_M_e_t_h_o_d_s:

     _r_e_a_d_D_a_t_a 'signature(object = "YG")': Reads source data defined by
          argument extenName from the ftp site

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

     Jianhua Zhang

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

     <URL: ftp://genome-ftp.stanford.edu/pub/yeast/data_download/>

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

     'pubRepo-class'

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

     ## Not run: 
     # Url may change but was correct at the time of coding
     url <- "ftp://genome-ftp.stanford.edu/pub/yeast/data_download/"
     # Creat a YG object
     ygeno <- YG(srcUrl = url)
     # Read the file named "chromosomal_feature.tab". Takes a few
     # seconds to finish
     data <- readData(ygeno,
                      "chromosomal_feature/chromosomal_feature.tab",
                      cols2Keep =c(6, 1), sep = "\t")
     ## End(Not run)

