Learn R Programming

⚠️There's a newer version (1.14) of this package.Take me there.

gap (version 0.3)

Genetic analysis package

Description

This is an integrated package for genetic data analysis of both population and family data.

Copy Link

Version

Install

install.packages('gap')

Monthly Downloads

31,418

Version

0.3

License

Programs included in this package by Jing hua Zhao will be under GPL. Specific requirement may be possible for programs written by other authors.

Maintainer

Jing Zhao

Last Published

February 19th, 2026

Functions in gap (0.3)

bt

Bradley-Terry model for contingency table
aldh2

ALDH2 markers and Alcoholism
s2k

Statistics for 2 by K table
fbsize

Sample size for family-based linkage and association design
kin.morgan

kinship matrix for simple pedigree
muvar

Means and variances under 1- and 2- locus (biallelic) QTL model
hap.score

Score Statistics for Association of Traits with Haplotypes
pfc

Probability of familial clustering of disease
apoeapoc

APOE/APOC1 markers and Schizophrenia
gcontrol

genomic control
whscore

Whittemore-Halpern scores for allele-sharing
kbyl

LD statistics for two multiallelic loci
hap

Haplotype reconstruction
chow.test

Chow's test for heterogeneity in two regressions
fsnps

A case-control data involving four SNPs for missing genotype
tbyt

LD statistics for two SNPs
pbsize

Power for population-based association design
hla

HLA markers and Schizophrenia
mia

multiple imputation analysis for hap
hap.em

Gene counting for haplotype analysis
gif

Kinship coefficient and genetic index of familiality
htr

Haplotype trend regression
gc.em

Gene counting for haplotype analysis
genecounting

Gene counting for haplotype analysis
hwe.hardy

Hardy-Weinberg equlibrium test
makeped

A function to prepare pedigrees in post-MAKEPED format
mtdt

Transmission/disequilibrium test of a multiallelic marker