whscore {gap} | R Documentation |
Whittemore-Halpern scores for allele-sharing
whscore(allele, type)
allele |
a matrix of alleles of affected pedigree members. |
type |
0 = pairs, 1 = all. |
Allele sharing score statistics.
The returned value is the value of score statistic.
adapted from GENEHUNTER.
Leonid Kruglyak, Jing Hua Zhao
Kruglyak L, Daly MJ, Reeve-Daly MP, Lander ES (1996). “Parametric and nonparametric linkage analysis: a unified multipoint approach.” Am J Hum Genet, 58(6), 1347-63.
Whittemore AS, Halpern J (1994). “A class of tests for linkage using affected pedigree members.” Biometrics, 50(1), 118-27.
Whittemore AS, Halpern J (1994). “Probability of gene identity by descent: computation and applications.” Biometrics, 50(1), 109-17.
## Not run:
c<-matrix(c(1,1,1,2,2,2),ncol=2)
whscore(c,type=1)
whscore(c,type=2)
## End(Not run)