haplo.chistat {haplo.stats} | R Documentation |
Calculate a score test statistic for haplotypes, given case-control status. For use in haplo.scan
haplo.chistat(h1, h2, post, y, nrep)
h1 |
Vector of codes for the first of a haplotype pair per subject |
h2 |
Vector of codes for the second of a haplotype pair per subject |
post |
Posterior probability of the haplotype pair |
y |
The case-control status (1 for cases; 0 for controls) |
nrep |
Number of haplotype pairs for each subject |
The score test statistic for the set of haplotypes