!
! Idiopathic generalized epilepsy -- Zara et al (Hum Mol Genet 1995; 4:1201-7)
! Used by Kruglyak & Lander (AJHG 1996 58:1347-63): individuals numbered 
! as per their Figure 7 
! Note the affected marrieds-in in Pedigrees 7 & 12, that the entire
! sibship of 6 individuals is affected in Pedigree 3 (all sharing one pat
! haplotype), and the parents of the ASP in Pedigree 13 are homozygous at
! D8S256.
!
! K & L quote an APM (1/sqr(p)) statistic of 2.90 for D8S256, and
! a S(pairs) -- the IBD-APM statistic -- of 2.26 (P=0.02).
!
! Running Genehunter using the observed allele frequencies gives:
!
! pedigree  LOD score    NPL score  p-value 
!       3    0.739967     3.137437  0.041992
!       5    0.211156     1.264911  0.250000
!       7   -0.065127     0.142498  0.187500
!       8    0.217913     0.773921  0.250000
!      12    0.276658     1.339299  0.125000
!      13    0.000000     0.000000  0.500000
!      15   -0.231961    -0.447214  0.750000
!      17    0.000000     0.000000  1.000000
!      19    0.042295     0.447214  0.500000
!      20   -0.393850    -1.341641  1.000000
! 
!   Total    0.797050     1.68120   0.042846    0.836017
!
!
! Ped 3; note that persons 4 & 5 are twins ?zyg (drawn as DZ)
!
! set workdir d:\
set imp 0
set wei founders
set locus epilepsy aff
set locus D8S284 mar
set locus D8S256 mar
set locus D8S534 mar
read pedigree epilepsy.ped
run
! freq
! tdt epilepsy
! sibpair epilepsy
! assoc epilepsy
! apm epilepsy
keep epilepsy D8S256
! set iter 5000
! set plevel 1
apm epilepsy ibd
