haplo.scan.obs {haplo.stats} | R Documentation |
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
|
Details
Value
svec |
Vector of locus-specific maximum test statistics
|
save.lst |
A list object containing haplotype information necessary for calculating
score test statistics on the simulated data sets in haplo.scan.sim
|
Side Effects
References
See Also
haplo.scan
,
haplo.scan.sim
,
haplo.chistat
Examples
[Package
haplo.stats version 1.3.1
Index]