As first reported [Zhao, J. H. 2007. "gap: Genetic Analysis Package". J Stat Soft 23(8):118. <doi:10.18637/jss.v023.i08>], 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 populationbased and familybased 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. Over years, the package has been developed inbetween many projects hence also in line with the name (gap).
Package details 


Author  Jing Hua Zhao [aut, cre] (<https://orcid.org/0000000214635870>, 0000000349303582), Kurt Hornik [ctb], Brian Ripley [ctb], Uwe Liggs [ctb], Achim Zeileis [ctb] 
Maintainer  Jing Hua Zhao <jinghuazhao@hotmail.com> 
License  GPL (>= 2) 
Version  1.31 
URL  https://github.com/jinghuazhao/R 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.