Statistical Software
A Simple Loglinear Model for Haplotype Effects in a Case-Control Study Involving Two Unphased Genotypes
(written by Stuart G. Baker)
These programs were based on a publication by Baker SG. A simple loglinear model for haplotype effects in a case-control study involving two unphased genotypes, Statistical Applications in Genetics and Molecular Biology
It runs in Mathematics 5.1 and requires the composite linear model (CLM) packages (not the examples) at http://library.wolfram.com/infocenter/MathSource/706/,
All files should be loaded into a directory called clm.m
Downloads
- hap.m (m, 2kb) - Initial file to load other files
- hapsup.m (m, 8kb) - Functions for design matrix, finding non-rare haplotypes, etc
- hapgen.m (m, 10kb) - Functions for creating matrix linking haplotypes and genotypes
- exhap.m (m, 3kb) - Core functions for CLM routine
- hapdat.m (m, 8kb) - Functions to support simulations
- hapsim.m (m, 5kb) - Functions for simulating counts (calls exhap)
- hapfit.m (m, 4kb) - Functions for fitting data (calls exhap)