Learn R Programming

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

Haplin (version 6.0.1)

Analyzing Case-Parent Triad and/or Case-Control Data with SNP Haplotypes

Description

Performs genetic association analyses of case-parent triad (trio) data with multiple markers. It can also incorporate complete or incomplete control triads, for instance independent control children. Estimation is based on haplotypes, for instance SNP haplotypes, even though phase is not known from the genetic data. Haplin estimates relative risk (RR + conf.int.) and p-value associated with each haplotype. It uses maximum likelihood estimation to make optimal use of data from triads with missing genotypic data, for instance if some SNPs has not been typed for some individuals. Haplin also allows estimation of effects of maternal haplotypes and parent-of-origin effects, particularly appropriate in perinatal epidemiology. Haplin allows special models, like X-inactivation, to be fitted on the X-chromosome. A GxE analysis allows testing interactions between environment and all estimated genetic effects.

Copy Link

Version

Install

install.packages('Haplin')

Monthly Downloads

446

Version

6.0.1

License

GPL (>= 2)

Maintainer

Hakon Gjessing

Last Published

May 26th, 2016

Functions in Haplin (6.0.1)

cbindFiles

Combine a sequence of files by columns
hapPower

Power simulation for association analyses with Haplin
gwaaToHaplin

Convert a loaded GenABEL gwaa.data object to a Haplin format character matrix
hapRun

Simulates genetic data and runs Haplin for each simulation
haplinStrat

Fit haplin to each subset/stratum of data, determined by the argument strata
haplinSlide

Fit haplin in a series of sliding windows over a sequence of markers/SNPs
convertPed

Convert large ped files by creating unique IDs, converting allele coding and extracting a selection of SNPs
gxe

Test for gene-environment interaction
output

Save files with summary, table, and plot from a haplin object.
lineByLine

Line-by-line modification of files
hapSim

Simulation of genetic data in Haplin format
suest

Compute a joint p-value for a list of haplin fits (usually from a sliding window approach), correcting for multiple testing.
snpPos

Find the column numbers of SNP identifiers/SNP numbers in a ped file
summary.haplin

Summary of a haplin object
summary.haplinTDT

Summary of a haplinTDT object
snpSampleSize

Sample size calculations for a single SNP
print.haplin

Print a haplin object
toDataFrame

Stack dataframes from haplinSlide into a single dataframe
pedToHaplin

Convert from ped format data to Haplin format
pQQ

QQ-plot with confidence intervals for a vector of p-values
haptable

Create haplin table
plot.haplinTDT

Plot a haplinTDT object
prepPed

Extract family and phenotype information from a ped-format file, to prepare for use in Haplin
rbindFiles

Combine a sequence of files by rows
print.summary.haplin

Print the summary of a haplin object
snpPower

Power calculations for a single SNP
haplin

Fitting log-linear models to case-parent triad and/or case-control data
haplinTDT

Transmission disequilibrium tests for case-parent triad data
plot.haptable

Plot a haptable object
plot.haplin

Plot a haplin object