Skip to main content

Crate rsomics_plink_tdt

Crate rsomics_plink_tdt 

Source
Expand description

PLINK1 --tdt: transmission disequilibrium test over complete trios.

For each variant, over affected offspring whose two parents are both genotyped and Mendel-consistent, count the minor allele transmitted (T) and untransmitted (U) by heterozygous parents. The statistic is McNemar’s: CHISQ = (T-U)² / (T+U), 1 df, OR = T/U.

A1 is the minor allele by founder allele frequency (PLINK’s convention), which fixes the T/U orientation and the A1/A2 labels.

Structs§

TdtRecord

Functions§

tdt
write_tdt
Write the records in PLINK’s .tdt layout (default, non-poo).