Learn R Programming

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

gap (version 1.1-20)

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

13,389

Version

1.1-20

License

GPL (>= 2)

Maintainer

Last Published

November 25th, 2017

Functions in gap (1.1-20)

MCMCgrm

Mixed modeling with genetic relationship matrices
PD

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

AE model using nuclear family trios
LD22

LD statistics for two diallelic markers
BFDP

Bayesian false-discovery probability
ab

Test/Power calculation for mediating effect
ccsize

Power and sample size for case-cohort design
LDkl

LD statistics for two multiallelic markers
comp.score

score statistics for testing genetic linkage of quantitative trait
ESplot

Effect-size plot
crohn

Crohn's disease data
asplot

Regional association plot
FPRP

False-positive report probability
cf

Cystic fibrosis data
SNP

Functions for single nucleotide polymorphisms (SNPs)
apoeapoc

APOE/APOC1 markers and Alzheimer's
aldh2

ALDH2 markers and Alcoholism
gcontrol

genomic control
gcp

Permutation tests using GENECOUNTING
chow.test

Chow's test for heterogeneity in two regressions
fsnps

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

Obtain correlation coefficients and their variance-covariances
fa

Friedreich Ataxia data
bt

Bradley-Terry model for contingency table
gap-internal

Internal functions for gap
genecounting

Gene counting for haplotype analysis
fbsize

Sample size for family-based linkage and association design
gcontrol2

genomic control based on p values
hap

Haplotype reconstruction
hap.score

Score statistics for association of traits with haplotypes
hap.em

Gene counting for haplotype analysis
hla

The HLA data
gap-package

Genetic analysis package
gc.em

Gene counting for haplotype analysis
gif

Kinship coefficient and genetic index of familiality
htr

Haplotype trend regression
h2

Heritability estimation according to twin correlations
hwe

Hardy-Weinberg equlibrium test for a multiallelic marker
l51

An example pedigree data
masize

Sample size calculation for mediation analysis
lukas

An example pedigree
metap

Meta-analysis of p values
qqunif

Q-Q plot for uniformly distributed random variable
read.ms.output

A utility function to read ms output
mhtplot2

Manhattan plot with annotations
makeped

A function to prepare pedigrees in post-MAKEPED format
mia

multiple imputation analysis for hap
mao

A study of Parkinson's disease and MAO gene
mtdt

Transmission/disequilibrium test of a multiallelic marker
muvar

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

Multivariate meta-analysis based on generalized least squares
mtdt2

Transmission/disequilibrium test of a multiallelic marker by Bradley-Terry model
print.hap.score

Print a hap.score object
pbsize2

Power for case-control association design
qqfun

Quantile-comparison plots
pedtodot

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

Whittemore-Halpern scores for allele-sharing
klem

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

Fixed and random effects model for meta-analysis
nep499

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

Power for population-based association design
meyer

A pedigree data on 282 animals deriving from two generations
pgc

Preparing weight for GENECOUNTING
mfblong

Example data for ACEnucfam
plot.hap.score

Plot haplotype frequencies versus haplotype score statistics
s2k

Statistics for 2 by K table
mhtplot

Manhattan plot
pfc

Probability of familial clustering of disease
hwe.cc

A likelihood ratio test of population Hardy-Weinberg equilibrium for case-control studies
pfc.sim

Probability of familial clustering of disease
hwe.hardy

Hardy-Weinberg equilibrium test using MCMC
tscc

Power calculation for two-stage case-control design
kin.morgan

kinship matrix for simple pedigree