The haversine is a function used to calculate the distance between a pair of 
    latitude and longitude points while accounting for the assumption that the points 
    are on a spherical globe. This package provides a fast, dataframe compatible, 
    haversine function. For the first publication on the haversine calculation see 
    Joseph de Mendoza y Ríos (1795) <https://books.google.cat/books?id=030t0OqlX2AC> (In Spanish).

A simple and time saving multiple linear regression function (OLS) with interpretation, optional bootstrapping, effect size calculation and all tested requirements.

The following R functions are used for inference of trait
        associations with haplotypes and other covariates in
        generalized linear models.  The functions are developed
        primarily for data collected in cohort or cross-sectional
        studies. They can accommodate uncertain haplotype phase and
        handle missing genotypes at some SNPs.

Inference of chromosome-length haplotypes using a few haploid 
	gametes of an individual. The gamete genotype data may be generated from various platforms 
	including genotyping arrays and sequencing even with low-coverage. Hapi simply takes 
	genotype data of known hetSNPs in single gamete cells as input and report the high-resolution 
	haplotypes as well as confidence of each phased hetSNPs. The package also includes a module 
	allowing downstream analyses and visualization of identified crossovers in the gametes.

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. The models were originally described in "Gjessing HK and Lie RT. Case-parent triads: Estimating single- and double-dose effects of fetal and maternal disease gene haplotypes. Annals of Human Genetics (2006) 70, pp. 382-396".