genotypeCoding         package:GeneticsBase         R Documentation

_G_e_t _g_e_n_o_t_y_p_e _c_o_d_i_n_g

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

     Get genotype coding.

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

     genotypeCoding(geneSetObj, method = "A")
     genotypeCoding.default(pedObj, method = "A")

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

geneSetObj: a geneSet object

  pedObj: a pedigreee object

  method: genotype coding method. The default is additive coding ('A').
          The other two available coding methods are recessive coding
          ('R') and dominant coding ('D'), respectively.

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

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

     a matrix with 'nSubjects' rows and 'nMarkers' columns. Each column
     contains coded genotype.

_N_o_t_e:

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

     Gregory Warnes <warnes@bst.rochester.edu> Ross Lazarus
     <ross.lazarus@channing.harvard.edu> Weiliang Qiu
     <stwxq@channing.harvard.edu>

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

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

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

       data(CAMP)
       res<-genotypeCoding(CAMP, method="A")
       print(res[1:10,])

