Learn R Programming

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

gap (version 1.1-12)

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

20,276

Version

1.1-12

License

GPL (>= 2)

Maintainer

Jing Zhao

Last Published

August 18th, 2014

Functions in gap (1.1-12)

comp.score

score statistics for testing genetic linkage of quantitative trait
gcontrol2

genomic control based on p values
ccsize

Power and sample size for case-cohort design
BFDP

Bayesian false-discovery probability
hwe.hardy

Hardy-Weinberg equilibrium test using MCMC
metap

Meta-analysis of p values
mhtplot2

Manhattan plot with annotations
l51

An example pedigree data
mvmeta

Multivariate meta-analysis based on generalized least squares
LDkl

LD statistics for two multiallelic markers
pfc.sim

Probability of familial clustering of disease
muvar

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

genomic control
mhtplot

Manhattan plot
hap.score

Score statistics for association of traits with haplotypes
genecounting

Gene counting for haplotype analysis
hap

Haplotype reconstruction
aldh2

ALDH2 markers and Alcoholism
nep499

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

multiple imputation analysis for hap
gap-internal

Internal functions for gap
twinan90

Classic twin models
FPRP

False-positive report probability
apoeapoc

APOE/APOC1 markers and Alzheimer's
asplot

Regional association plot
mao

A study of Parkinson's disease and MAO gene
mfblong

Example data for ACEnucfam
kin.morgan

kinship matrix for simple pedigree
qqfun

Quantile-comparison plots
hap.em

Gene counting for haplotype analysis
pfc

Probability of familial clustering of disease
ab

Test/Power calculation for mediating effect
fsnps

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

Crohn's disease data
hr1420

An example data for Manhattan plot with annotation
mtdt2

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

Genetic analysis package
PD

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

Effect-size plot
s2k

Statistics for 2 by K table
LD22

LD statistics for two diallelic markers
masize

Sample size calculation for mediation analysis
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
gcp

Permutation tests using GENECOUNTING
print.hap.score

Print a hap.score object
hla

The HLA data
tscc

Power calculation for two-stage case-control design
pgc

Preparing weight for GENECOUNTING
gc.em

Gene counting for haplotype analysis
makeped

A function to prepare pedigrees in post-MAKEPED format
chow.test

Chow's test for heterogeneity in two regressions
fbsize

Sample size for family-based linkage and association design
whscore

Whittemore-Halpern scores for allele-sharing
mtdt

Transmission/disequilibrium test of a multiallelic marker
metareg

Fixed and random effects model for meta-analysis
plot.hap.score

Plot haplotype frequencies versus haplotype score statistics
htr

Haplotype trend regression
pedtodot

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

Kinship coefficient and genetic index of familiality
CDKN

Example data for association plot
h2

Heritability estimation according to twin correlations
pbsize

Power for population-based association design
bt

Bradley-Terry model for contingency table
fa

Friedreich Ataxia data
qqunif

Q-Q plot for uniformly distributed random variable
klem

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

Cystic fibrosis data
pbsize2

Power for case-control association design
b2r

Obtain correlation coefficients and their variance-covariances
mhtdata

An example data for Manhattan plot
read.ms.output

A utility function to read ms output
hwe

Hardy-Weinberg equlibrium test for a multiallelic marker
SNP

Functions for single nucleotide polymorphisms (SNPs)