Learn R Programming

gap (version 1.6)

whscore: Whittemore-Halpern scores for allele-sharing

Description

Whittemore-Halpern scores for allele-sharing

Usage

whscore(allele, type)

Value

The returned value is the value of score statistic.

Arguments

allele

a matrix of alleles of affected pedigree members.

type

0 = pairs, 1 = all.

Author

Leonid Kruglyak, Jing Hua Zhao

Details

Allele sharing score statistics.

References

kruglyak96gap

wh94agap

wh94bgap

Examples

Run this code
if (FALSE) {
c<-matrix(c(1,1,1,2,2,2),ncol=2)
whscore(c,type=1)
whscore(c,type=2)
}

Run the code above in your browser using DataLab