snpMeta-class            package:GGtools            R Documentation

_C_l_a_s_s "_s_n_p_M_e_t_a" - _H_a_p_M_a_p (_o_r _W_e_l_l_c_o_m_e _I_N_B_R_E_D_S) -_b_a_s_e_d _m_e_t_a_d_a_t_a _s_t_r_u_c_t_u_r_e_s _f_o_r _S_N_P_s

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

     HapMap (or Wellcome INBREDS) -based metadata structures for SNPs

_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("snpMeta", ...)'.

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


     '_m_e_t_a': Object of class '"environment"' holds the table in the
          'meta' element, in the form of a 'data.frame', with rownames
          giving the SNP ids, and columns 'pos', 'strand'

     '_c_h_r_o_m_o_s_o_m_e': Object of class '"character"' string identifying
          chromosome on which SNPs are documented 

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


     [ 'signature(x = "snpMeta")': select subset using rs number

     _c_h_r_o_m_o_s_o_m_e 'signature(x = "snpMeta")': obtain chromosome name 

     _p_o_s 'signature(x = "snpMeta")': obtain named vector of positions 

     _c_o_e_r_c_e 'signature(from = "snpMeta", to = "data.frame")': return
          data.frame with all metadata 

     _d_i_m 'signature(x = "snpMeta")': give dimensions 

     _n_r_o_w 'signature(x = "snpMeta")': tell number of entries 

     _s_h_o_w 'signature(object = "snpMeta")': give abbreviated report of
          contents with exemplar records

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

     VJ Carey <stvjc@channing.harvard.edu>

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

     <URL: www.hapmap.org> , <URL: www.well.ox.ac.uk/mouse/INBREDS>

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

     data(chr20meta)
     chr20meta["rs6060535",]

