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

