TDT2locus: An R program for two-locus TDT analysis

URL of this page: http://biostat.mc.vanderbilt.edu/TDT2locus

This program has two functions. The function readin() is for reading in data from a file and processing data into a format that can be used by the main analysis program, TDT2L().

The input data file should have one title line and three columns: family ID, gene 1 geneotype, gene 2 genotype. Genotypes should be coded as 0, 1, 2. Missing data should be denoted as a dot. The families should be sorted so that family members are clustered together, with the first two members as the parents and the other members as the offspring. A sample data file looks like this:

family   G1   G2
100501   1   1
100501   0   1
100501   0   1
100501   1   1
100701   0   2
100701   1   1
100701   1   .
100701   0   1
200601   0   1
200601   0   1
200601   0   1
1001201   .   1
1001201   .   2
1001201   .   1
1001201   .   2
1001501   1   0
1001501   1   0
1001501   1   0
1001801   1   0
1001801   0   2
1001801   1   1
1001801   1   1

This topic: Main > TWikiUsers > ChunLi > TDT2locus
Topic revision: 28 Apr 2009, ChunLi
 
This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback