ped2geneSet           package:GeneticsBase           R Documentation

_t_r_a_n_s_l_a_t_e _a _p_e_d _m_a_t_r_i_x _t_o _a _g_e_n_e_S_e_t _o_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     Translate a ped matrix to a geneSet object.

_U_s_a_g_e:

       ped2geneSet(ped,
                   markerNames,
                   columns=c("family", "pid", "father", "mother",
                             "sex", "affected"),
                   quiet=FALSE,
                   filename)

_A_r_g_u_m_e_n_t_s:

     ped: pedigree data frame whose first 6 columns are family
          (pedigree id), pid (patient id), father (father id), mother
          (mother id), sex, affected (affection status). The remaining
          columns are pairs of marker alleles. Each row corresponds to
          an individual.

markerNames: names of markers

 columns: names of the first 5 (or 6) columns of ped file. It should be
          either equal to  c("family","pid","father","mother","
          sex","affected") or equal to
          c("family","pid","father","mother","sex")

   quiet: print intermediate results if 'quiet=FALSE'.

filename: the name of the file recording the matrix 'ped'. 

_V_a_l_u_e:

geneSetObject: an object of geneSet class

_A_u_t_h_o_r(_s):

     Weiliang Qiu stwxq@channing.harvard.edu, Ross Lazarus
     ross.lazarus@channing.harvard.edu

