Select informative transmissions of sub-haplotypes for the...

tdt.selectR Documentation

Select informative transmissions of sub-haplotypes for the TDT test


This function is just a data handling intermediary between hap.transmit, which computes haplotypes, and tdt.quad and tdt.rr which do TDT tests.

Usage, markers=1:((ncol( - 4)/4), complete=TRUE)


The input dataframe. This will usually have been created by hap.transmit.


An integer array indicating which loci make up the relevant part of the haplotype.


If TRUE, only "complete" haplotypes are used (ie no zero's will be included).


A list of two arrays of class "factor". The first (trans) contains transmitted haplotypes and the second (untrans) contains untransmitted haplotypes. Rownames identify the transmission in terms of pedigree id, offspring id, father's id, mother's id, and whether it is a paternal transmission ("f") or a maternal transmission ("m").


Clayton, D. and Jones, H. (1999) Transmission/disequilibrium tests for extended marker haplotypes. Am.J.Hum.Gen., 65:1161-1169.

See Also

hap.transmit, tdt.rr, tdt.quad


## Not run: 
# Select the sub-haplotype made up from the first two markers and print 
# tables of frequencies of transmitted and untransmitted haplotypes

	hap.use <-, markers=1:2)

## End(Not run)

tdthap documentation built on Oct. 29, 2022, 1:14 a.m.