whscore                 package:gap                 R Documentation

_W_h_i_t_t_e_m_o_r_e-_H_a_l_p_e_r_n _s_c_o_r_e_s _f_o_r _a_l_l_e_l_e-_s_h_a_r_i_n_g

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

     Allele sharing score statistics

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

     whscore(allele,type)

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

  allele: a matrix of alleles of affected pedigree members

    type: 0 = pairs, 1 = all

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

     The returned value is the value of score statistic

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

     Kruglyak L, Daly MJ, Reeve-Daly MP, Lander ES (1996) Parametric
     and Nonparametric  linkage analysis: a unified multipoint
     approach. Am. J. Hum. Genet. 58:1347-1363

     Whittemore AS, Halpern J (1994) A class of tests for linkage using
     affected  pedigree members. Biometrics 50:118-127

     Whittemore AS, Halpern J (1994) Probability of gene identity by
     descent:  computation and applications. Biometrics 50:109-117

_N_o_t_e:

     adapted from GENEHUNTER

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

     Leonid Kruglyak, Jing Hua Zhao

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

     ## Not run: 
     c<-matrix(c(1,1,1,2,2,2),ncol=2)
     whscore(c,type=1)
     whscore(c,type=2)
     ## End(Not run)

