Learn R Programming

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

gap (version 1.1-13)

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, 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.

Copy Link

Version

Install

install.packages('gap')

Monthly Downloads

17,389

Version

1.1-13

License

GPL (>= 2)

Maintainer

Jing Zhao

Last Published

June 3rd, 2015

Functions in gap (1.1-13)

ESplot

Effect-size plot
apoeapoc

APOE/APOC1 markers and Alzheimer's
b2r

Obtain correlation coefficients and their variance-covariances
crohn

Crohn's disease data
ccsize

Power and sample size for case-cohort design
LDkl

LD statistics for two multiallelic markers
hap.score

Score statistics for association of traits with haplotypes
chow.test

Chow's test for heterogeneity in two regressions
hla

The HLA data
comp.score

score statistics for testing genetic linkage of quantitative trait
htr

Haplotype trend regression
h2

Heritability estimation according to twin correlations
gc.em

Gene counting for haplotype analysis
mhtplot2

Manhattan plot with annotations
mtdt2

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

Probability of familial clustering of disease
meyer

A pedigree data on 282 animals deriving from two generations
kin.morgan

kinship matrix for simple pedigree
pbsize

Power for population-based association design
print.hap.score

Print a hap.score object
qqfun

Quantile-comparison plots
gcontrol

genomic control
pgc

Preparing weight for GENECOUNTING
BFDP

Bayesian false-discovery probability
gap-internal

Internal functions for gap
gcontrol2

genomic control based on p values
hwe.hardy

Hardy-Weinberg equilibrium test using MCMC
mfblong

Example data for ACEnucfam
muvar

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

Transmission/disequilibrium test of a multiallelic marker
tscc

Power calculation for two-stage case-control design
twinan90

Classic twin models
CDKN

Example data for association plot
aldh2

ALDH2 markers and Alcoholism
genecounting

Gene counting for haplotype analysis
hwe

Hardy-Weinberg equlibrium test for a multiallelic marker
hap.em

Gene counting for haplotype analysis
mhtplot

Manhattan plot
pfc.sim

Probability of familial clustering of disease
bt

Bradley-Terry model for contingency table
pedtodot

Converting pedigree(s) to dot file(s)
plot.hap.score

Plot haplotype frequencies versus haplotype score statistics
gif

Kinship coefficient and genetic index of familiality
fa

Friedreich Ataxia data
FPRP

False-positive report probability
SNP

Functions for single nucleotide polymorphisms (SNPs)
hap

Haplotype reconstruction
mao

A study of Parkinson's disease and MAO gene
s2k

Statistics for 2 by K table
ab

Test/Power calculation for mediating effect
fsnps

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

An example pedigree data
metap

Meta-analysis of p values
PD

A study of Parkinson's disease and APOE, LRRK2, SNCA makers
pbsize2

Power for case-control association design
hwe.cc

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

An example pedigree
AE3

AE model using nuclear family trios
fbsize

Sample size for family-based linkage and association design
masize

Sample size calculation for mediation analysis
read.ms.output

A utility function to read ms output
whscore

Whittemore-Halpern scores for allele-sharing
nep499

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

Q-Q plot for uniformly distributed random variable
LD22

LD statistics for two diallelic markers
hr1420

An example data for Manhattan plot with annotation
asplot

Regional association plot
gap-package

Genetic analysis package
klem

Haplotype frequency estimation based on a genotype table of two multiallelic markers
gcp

Permutation tests using GENECOUNTING
mhtdata

An example data for Manhattan plot
mvmeta

Multivariate meta-analysis based on generalized least squares
cf

Cystic fibrosis data
metareg

Fixed and random effects model for meta-analysis
mia

multiple imputation analysis for hap
MCMCgrm

Mixed modeling with genetic relationship matrices
makeped

A function to prepare pedigrees in post-MAKEPED format