Learn R Programming

haplo.stats (version 1.2.1)

haplo.scan.sim: For simulated data, slide a fixed-width window over each marker locus and scan all possible haplotypes within the window

Description

For simulated data, slide a fixed-width window over each marker locus and scan all possible haplotypes within the window

Usage

haplo.scan.sim(y.reord, save.lst, nloci)

Arguments

y.reord
Re-ordered vector of case/control status, must be 1 for cases and 0 for controls.
save.lst
List of haplotype information saved from haplo.scan.obs
nloci
Number of loci in the whole region

Value

  • Vector of the locus-specific test statistics based on simulated case/control status

See Also

haplo.scan, haplo.scan.obs, haplo.chistat