Genetic Analysis Package

As first reported [Zhao, J. H. 2007. "gap: Genetic Analysis Package". J Stat Soft 23(8):1-18. ], 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. Over years, the package has been developed in-between many projects hence also in line with the name (gap).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gap")

1.15.2 by Jing Hua Zhao, 5 months ago


https://github.com/jinghuazhao/R


Report a bug at https://github.com/jinghuazhao/R/issues


Browse source code at https://github.com/cran/gap


Authors: Jing Hua Zhao [aut, cre] (ORCID: , 0000-0003-4930-3582) , Kurt Hornik [ctb] , Brian Ripley [ctb] , Uwe Ligges [ctb] , Achim Zeileis [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports dplyr, ggplot2, plotly, Rdpack

Depends on gap.datasets

Suggests BradleyTerry2, DiagrammeR, MASS, Matrix, MCMCglmm, R2jags, bdsmatrix, bookdown, calibrate, circlize, coda, cowplot, coxme, foreign, genetics, grDevices, haplo.stats, htmltools, htmlwidgets, jsonlite, kinship2, knitr, lattice, magic, matrixStats, meta, metafor, nlme, pedigree, pedigreemm, plotrix, readr, reshape, rmarkdown, rms, scales, survival, valr

Enhances shiny


Imported by BayesianTools, DHARMa, PopGenReport, gaawr2.

Suggested by rehh.


See at CRAN