tbyt                   package:gap                   R Documentation

_L_D _s_t_a_t_i_s_t_i_c_s _f_o_r _t_w_o _S_N_P_s

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

     LD statistics for two SNPs

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

     tbyt(h,n)

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

       h: a vector of haplotype frequencies

       n: number of haplotypes

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

     The returned value is a list containing:

       h: the original haplotype frequency vector

       n: the number of haplotypes

       D: the linkage disequilibrium parameter

    VarD: the variance of D

    Dmax: the maximum of D

 VarDmax: the variance of Dmax

  Dprime: the scaled disequilibrium parameter

VarDprime: the variance of Dprime

      x2: the Chi-squared statistic

     lor: the log(OR) statistic

    vlor: the var[log(OR)] statistic

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

     Zabetian CP, Buxbaum SG, Elston RC, Kohnke MD, Anderson GM,
     Gelernter J, Cubells JF. The structure of linkage disequilibrium
     at the DBH locus strongly influences the  magnitude of association
     between diallelic markers and plasma dopamine beta-hydroxylase
     activity Am J Hum Genet 72: 1389-1400 

     Zapata C, Alvarez G, Carollo C (1997) Approximate variance of the
     standardized measure of gametic disequilibrium D'. Am. J. Hum.
     Genet. 61:771-774

_N_o_t_e:

     extracted from 2ld.c

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

     Jing Hua Zhao

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

     'kbyl'

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

     ## Not run: 
     h <- c(0.442356,0.291532,0.245794,0.020319)
     n <- 481*2
     t <- tbyt(h,n)
     t
     ## End(Not run)

