whscore: Whittemore-Halpern scores for allele-sharing

View source: R/whscore.R

whscoreR Documentation

Whittemore-Halpern scores for allele-sharing

Description

Whittemore-Halpern scores for allele-sharing

Usage

whscore(allele, type)

Arguments

allele

a matrix of alleles of affected pedigree members.

type

0 = pairs, 1 = all.

Details

Allele sharing score statistics.

Value

The returned value is the value of score statistic.

Note

adapted from GENEHUNTER.

Author(s)

Leonid Kruglyak, Jing Hua Zhao

References

\insertRef

kruglyak96gap

\insertRef

wh94agap

\insertRef

wh94bgap

Examples

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

## End(Not run)


gap documentation built on Aug. 26, 2023, 5:07 p.m.