affectionPhe              package:pbatR              R Documentation

_A_f_f_e_c_t_i_o_n _P_h_e_n_o_t_y_p_e _O_b_j_e_c_t

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

     Creates a phenotype object from a pedigree object (see `ped' and
     `phe'), preserving affection status.  Mostly used internally, or
     as a substitute offset fix for the GUI.

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

     affectionPhe( ped, trait="affected", offset=0.0 )

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

     ped: An object of class 'ped'.

   trait: Name for the trait in the generated phenotype file.

  offset: The offset to be used.

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

     Returns an object of class 'phe'.

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

     'read.phe', 'read.ped'

