Learn R Programming

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

gap (version 1.1-0)

Genetic analysis package

Description

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, classic twin models, probability of familial disease aggregation, kinship calculation, some statistics in linkage analysis, and association analysis involving one or more genetic markers including haplotype analysis with or without environmental covariates.

Copy Link

Version

Install

install.packages('gap')

Monthly Downloads

20,276

Version

1.1-0

License

GPL (>= 2)

Maintainer

Jing Zhao

Last Published

November 17th, 2010

Functions in gap (1.1-0)

fa

Friedreich Ataxia data
metareg

Fixed and random effects model for meta-analysis
hwe

Hardy-Weinberg equlibrium test for a multiallelic marker
ab

Test/Power calculation for mediating effect
kin.morgan

kinship matrix for simple pedigree
BFDP

Bayesian false-discovery probability
LDkl

LD statistics for two multiallelic markers
asplot

Regional association plot
hwe.hardy

Hardy-Weinberg equilibrium test using MCMC
pbsize

Power for population-based association design
chow.test

Chow's test for heterogeneity in two regressions
LD22

LD statistics for two diallelic markers
mtdt

Transmission/disequilibrium test of a multiallelic marker
makeped

A function to prepare pedigrees in post-MAKEPED format
snca

A study of Parkinson's disease and SNCA makers
cf

Cystic fibrosis data
pgc

Preparing weight for GENECOUNTING
comp.score

score statistics for testing genetic linkage of quantitative trait
ccsize

Power and sample size for case-cohort design
mia

multiple imputation analysis for hap
aldh2

ALDH2 markers and Alcoholism
gcontrol2

genomic control based on p values
tscc

Power calculation for two-stage case-control design
FPRP

False-positive report probability
b2r

Obtain correlation coefficients and their variance-covariances
hap.em

Gene counting for haplotype analysis
twinan90

Classic twin models
gap-internal

Internal functions for gap
hwe.cc

A likelihood ratio test of population Hardy-Weinberg equilibrium for case-control studies
fsnps

A case-control data involving four SNPs with missing genotype
h2

Heritability estimation according to twin correlations
crohn

Crohn's disease data
mhtplot

Manhattan plot of p values
bt

Bradley-Terry model for contingency table
hla

The HLA data
nep499

A study of Alzheimer's disease with eight SNPs and APOE
hap

Haplotype reconstruction
gc.em

Gene counting for haplotype analysis
pfc.sim

Probability of familial clustering of disease
qqfun

Quantile-comparison plots
apoeapoc

APOE/APOC1 markers and Alzheimer's
mtdt2

Transmission/disequilibrium test of a multiallelic marker by Bradley-Terry model
masize

Sample size calculation for mediation analysis
gcontrol

genomic control
fbsize

Sample size for family-based linkage and association design
pbsize2

Power for case-control association design
pfc

Probability of familial clustering of disease
muvar

Means and variances under 1- and 2- locus (biallelic) QTL model
metap

Meta-analysis of p values
klem

Haplotype frequency estimation based on a genotype table of two multiallelic markers
hap.score

Score statistics for association of traits with haplotypes
print.hap.score

Print a hap.score object
gap-package

Genetic analysis package
plot.hap.score

Plot haplotype frequencies versus haplotype score statistics
read.ms.output

A utility function to read ms output
mao

A study of Parkinson's disease and MAO gene
mhtdata

An example data for Manhattan plot
gcp

Permutation tests using GENECOUNTING
s2k

Statistics for 2 by K table
CDKN

Example data for association plot
SNP

Functions for single nucleotide polymorphisms (SNPs)
ESplot

Effect-size plot
gif

Kinship coefficient and genetic index of familiality
qqunif

Q-Q plot for uniformly distributed random variable
mvmeta

Multivariate meta-analysis based on generalized least squares
genecounting

Gene counting for haplotype analysis
pedtodot

Converting pedigree(s) to dot file(s)
htr

Haplotype trend regression
whscore

Whittemore-Halpern scores for allele-sharing