gap: Genetic Analysis Package

It is designed as an integrated package for genetic data analysis of both population and family data. Currently, it contains functions for sample size calculations of both population-based and family-based designs, probability of familial disease aggregation, kinship calculation, statistics in linkage analysis, and association analysis involving genetic markers including haplotype analysis with or without environmental covariates.

Version: 1.1-21
Depends: R (≥ 2.10)
Suggests: BradleyTerry2, MASS, Matrix, MCMCglmm, R2jags, bdsmatrix, coda, coxme, foreign, grid, haplo.stats, kinship2, lattice, magic, mets, nlme, pedigree, pedigreemm, regress, rms, survival
Published: 2018-01-24
Author: Jing Hua Zhao and colleagues with inputs from Kurt Hornik and Brian Ripley
Maintainer: Jing Hua Zhao <jinghua.zhao at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: gap citation info
Materials: ChangeLog
In views: Genetics, MetaAnalysis
CRAN checks: gap results


Reference manual: gap.pdf
Vignettes: An overview of gap
Heritability estimation using relationship matrices
gap: genetic analysis package
Example pedigrees for pedtodot
Drawing pedigree diagrams with R and graphviz
Package source: gap_1.1-21.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: gap_1.1-21.tgz
OS X Mavericks binaries: r-oldrel: gap_1.1-20.tgz
Old sources: gap archive

Reverse dependencies:

Reverse imports: DHARMa, PopGenReport
Reverse suggests: BayesianTools


Please use the canonical form to link to this page.