readPed                 package:fbat                 R Documentation

_I_m_p_o_r_t _p_e_d_i_g_r_e_e _f_i_l_e _f_r_o_m _s_t_a_n_d_a_r_d _p_e_d_i_g_r_e_e _f_i_l_e _f_o_r_m_a_t

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

     Import pedigree file from standard pedigree file format.

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

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

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

filename: File containing genotype data

 columns: column names for sample info

   quiet: indicates if intermediate output should be printed

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

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

     A list with five elements: 'ped', 'columns', 'markerNames',
     'Position', and 'fileName'. 'ped' is a 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; 'columns' are the 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"); 'founderOnly' indicates
     if using only founder info; 'markerNames' is a vector of marker
     names; 'Position' is a vector of marker positions; 'fileName' is
     the pedigree file name.

_N_o_t_e:

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

     Weiliang Qiu stwxq@channing.harvard.edu,  Ross Lazarus
     ross.lazarus@channing.harvard.edu,  Gregory Warnes
     warnes@bst.rochester.edu, Nitin Jain nitin.jain@pfizer.com

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

     'read.table', etc

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

