cor2dprime              package:hapsim              R Documentation

_C_o_r_r_e_l_a_t_i_o_n_s _t_o _D' _c_o_e_f_f_i_c_i_e_n_t_s _c_o_n_v_e_r_s_i_o_n

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

     Converts a matrix of correlation coefficients into a D' matrix

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

     cor2dprime(mat, probs)

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

     mat: A correlation matrix

   probs: A vector of allele frequencies

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

     The resulting matrix of D' coefficients

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

     Giovanni Montana

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

     Montana, G. HapSim: a simulation tool for generating haplotype
     data with pre-specified allele frequencies and LD coefficients.
     2005.

