haplo.scan.obs: For observed data, slide a fixed-width window over each marker locus
and scan all possible haplotypes within the window
Description
Slide a fixed-width window over each marker locus and scan all
possible haplotypes within the window. For all locus-subsets,
calculate score test statistics on observed data, and save the necessary
information for calculating the test statistics in haplo.scan.sim.
Usage
haplo.scan.obs(y, em.obj, width)
Arguments
y
Vector of trait values, must be 1 for cases and 0 for controls.
em.obj
A haplo.em object containing necessary haplotype information
width
Width of the slide window for scanning
Value
svecVector of locus-specific maximum test statistics
save.lstA list object containing haplotype information necessary for calculating
score test statistics on the simulated data sets in haplo.scan.sim