Set similarity function for Geary-Moran type TDT tests
Haplotypes are only similar if they are IBS at the focal locus. The extent of the similar region to each side is determined by stepping outwards until the haplotypes are no longer IBS, the region being assumed to end midway between the last IBS locus and the first non-IBS locus. If the haplotypes are IBS at the last locus, half the "off-end" distance is scored. The similarity is defined as the total length of this shared region raised to some power.
The number of loci.
A numeric array of length (nloci+1) giving marker spacings and "off-end" distances.
An integer in the range 1:nloci indicating the "focus" for the similarity function.
The power to which the shared haplotype length is raised.
A list of the values loaded.
Sets constants accessed by tdt.quad() when calculating Geary-Moran type statistics.
Clayton, D. and Jones, H. (1999) Transmission/disequilibrium tests for extended marker haplotypes. Am.J.Hum.Gen., 65:1161-1169.
1 2 3 4 5 6 7
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.