• We are sorry, but NCBI web applications do not support your browser and may not function properly. More information
Logo of bmcgeneBioMed Centralsearchsubmit a manuscriptregisterthis articleBMC Genetics
BMC Genet. 2007; 8: 36.
Published online Jun 25, 2007. doi:  10.1186/1471-2156-8-36
PMCID: PMC1924864

Bayesian estimates of linkage disequilibrium



The maximum likelihood estimator of D' – a standard measure of linkage disequilibrium – is biased toward disequilibrium, and the bias is particularly evident in small samples and rare haplotypes.


This paper proposes a Bayesian estimation of D' to address this problem. The reduction of the bias is achieved by using a prior distribution on the pair-wise associations between single nucleotide polymorphisms (SNP)s that increases the likelihood of equilibrium with increasing physical distances between pairs of SNPs. We show how to compute the Bayesian estimate using a stochastic estimation based on MCMC methods, and also propose a numerical approximation to the Bayesian estimates that can be used to estimate patterns of LD in large datasets of SNPs.


Our Bayesian estimator of D' corrects the bias toward disequilibrium that affects the maximum likelihood estimator. A consequence of this feature is a more objective view about the extent of linkage disequilibrium in the human genome, and a more realistic number of tagging SNPs to fully exploit the power of genome wide association studies.


Single nucleotide polymorphisms (SNPs) are an invaluable resource to identify regions of the human genome that may be associated with disease. A key to this process is linkage disequilibrium (LD) that is defined as the non-random association between the alleles of SNPs [1]. Although LD may occur between SNPs that are not in linkage but are associated, we will focus on the LD due to the spatial structure of the genome. In this situation, the non-random association implies that pairs of alleles in the same haplotype occur differently from what we would expect in a random pairing and several measures of LD have been proposed to capture the departure from independent pairing of the alleles of SNPs [2].

In this paper we will limit attention to D, its normalized version D', and the well known bias of the Maximum Likelihood Estimate (MLE) of D' toward disequilibrium [2,3]. This bias is particularly large in small samples and SNPs with rare alleles to the point that SNPs whose alleles occur independently may be inferred to be in strong LD [4]. However, relying on small samples to identify patterns of LD is not unusual: for example, the International HapMap Project (IHMP) aims to establish genome-wide patterns of LD using genotype data of at most 30 trios or 45 unrelated individuals [5]. The genotype data typed in this small number of samples are used to describe the extent of LD in the human genome, and derive a map of the haplotypes and the SNPs that are sufficient to tag the human genome. These results will have a deep impact on genome wide association studies and, in particular, inferring larger blocks of LD than the real ones may lead to the selection of an insufficient number of SNPs and hence decrease the power of genome wide association studies. In this scenario, biasing the estimate of LD toward equilibrium appears to be a safer alternative.

Several solutions have been proposed to reduce the bias of the MLE of D' toward disequilibrium [4]. A pragmatic solution is to impose some "ad hoc" threshold on the minimum allele frequency (MAF) of those SNPs that can be used to infer the pattern of LD [6]. Imposing this threshold leads to a non-random selection of SNPs and may introduce ascertainment bias [7,8]. The thought behind our approach is that the bias of the MLEs of D and D' is due to the lack of information in the data to discriminate between equilibrium and different magnitude of disequilibrium, and any attempt to correct this bias is due to fail as it was acknowledged in [3]. However, it is known that, on average, the strength of LD due to linkage decreases as the physical distance between SNPs increases [9,10]. Therefore, we propose a Bayesian estimator of D' that allows us to integrate data with prior information about the pattern of LD decay. To this end, we use a prior distribution on the pairwise dependencies between different SNPs that is a decreasing function of their physical distance. We show how to compute the posterior estimate of D' using Markov Chain Monte Carlo methods, and provide a numerical approximation that can be used for fast estimation of LD in large regions of the human genome. As we show in simulated and real data from the IHMP, the effect of the prior distribution is to drastically reduce the bias toward disequilibrium even in small samples, and to remove the need of arbitrary thresholds on the MAF. We also show that, compared to the MLE, our estimators lead to infer patterns of LD decay that are much closer to published results [10], and confirms the existence of haplotype blocks as regions of low recombination. The method is implemented in a computer program called Bayesian Linkage (BLink) [11].

Results and discussion

The traditional D and D'

Given two SNPs L1 and L2, with alleles A/a and B/b, A and B the major alleles, we define the probability of the haplotype ij by pij = p(L1 = i, L2 = j), i = A, a, j = B, b. As in [12], we assume the relation pA pB on the probabilities pA = p(L1 = A), pB = p(L2 = B) from which the inequality pAb paB follows.

The two SNPs are in linkage equilibrium when the co-occurrence of two alleles on the same haplotype is random, e.g. pij = pipj for all i = A, a, j = B, b. On the other hand, LD implies some form of dependency in the alleles on the same haplotype and hence departure from independence of the probabilities pij. Although there are many ways to measure departure from independence in a 2 × 2 table [13], a widely used measure of LD is the parameter D defined by

D = pAB - pApB - papb D papB.

Because the domain of D is a function of the allele frequencies, different normalization methods have been proposed to facilitate the interpretation [2]. The most common one is the measure Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ that was suggested by Lewontin [14] and is defined as D/max D:

Ds={pABpApBpapbifD0pABpApBpapBifD>0 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaOGaeyypa0ZaaiqabeaafaqaaeGadaaabaWaaSaaaeaacqWGWbaCdaWgaaWcbaGaemyqaeKaemOqaieabeaakiabgkHiTiabdchaWnaaBaaaleaacqWGbbqqaeqaaOGaemiCaa3aaSbaaSqaaiabdkeacbqabaaakeaacqWGWbaCdaWgaaWcbaGaemyyaegabeaakiabdchaWnaaBaaaleaacqWGIbGyaeqaaaaaaOqaaiabbMgaPjabbAgaMbqaaiabdseaejabgsMiJkabicdaWaqaamaalaaabaGaemiCaa3aaSbaaSqaaiabdgeabjabdkeacbqabaGccqGHsislcqWGWbaCdaWgaaWcbaGaemyqaeeabeaakiabdchaWnaaBaaaleaacqWGcbGqaeqaaaGcbaGaemiCaa3aaSbaaSqaaiabdggaHbqabaGccqWGWbaCdaWgaaWcbaGaemOqaieabeaaaaaakeaacqqGPbqAcqqGMbGzaeaacqWGebarcqGH+aGpcqaIWaamaaaacaGL7baaaaa@5D34@

Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ is defined in the interval [-1, 1], with Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ = ± 1 describing perfect disequilibrium and Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ = 0 describing equilibrium. It is also common to take the absolute value of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@, say D' = |Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@| to have a measure in the interval [0,1]. This is for example the default measure of LD in the popular program HaploView [6].

Maximum likelihood estimation

Suppose now that we have a data set of N individuals and n = 2N known haplotypes for the two SNPs (we assume here known phase for all haplotypes and discuss the phasing issue at the end of this section). We denote by nij (i = A, a, j = B, b) the frequencies of the four haplotypes, and by ni and nj the allele frequencies with nA nB. Assuming that the four haplotypes follow a multinomial distribution with probabilities pij, the likelihood function can be written as:

l(pij)ijpijnij MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGSbaBcqGGOaakcqWGWbaCdaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabcMcaPiabg2Hi1oaarafabaGaemiCaa3aa0baaSqaaiabdMgaPjabdQgaQbqaaiabd6gaUnaaBaaameaacqWGPbqAcqWGQbGAaeqaaaaaaSqaaiabdMgaPjabdQgaQbqab0Gaey4dIunaaaa@42F8@

and the MLE of pij, pA and pB are

p^ij=nABn;p^A=nAn;p^B=nBn MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqabeqadaaabaGafmiCaaNbaKaadaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabg2da9maalaaabaGaemOBa42aaSbaaSqaaiabdgeabjabdkeacbqabaaakeaacqWGUbGBaaGaei4oaSdabaGafmiCaaNbaKaadaWgaaWcbaGaemyqaeeabeaakiabg2da9maalaaabaGaemOBa42aaSbaaSqaaiabdgeabbqabaaakeaacqWGUbGBaaGaei4oaSdabaGafmiCaaNbaKaadaWgaaWcbaGaemOqaieabeaakiabg2da9maalaaabaGaemOBa42aaSbaaSqaaiabdkeacbqabaaakeaacqWGUbGBaaaaaaaa@4906@

from which we derive the MLE of D, Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ and D':

D^=p^ABp^Ap^B MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcaiabg2da9iqbdchaWzaajaWaaSbaaSqaaiabdgeabjabdkeacbqabaGccqGHsislcuWGWbaCgaqcamaaBaaaleaacqWGbbqqaeqaaOGafmiCaaNbaKaadaWgaaWcbaGaemOqaieabeaaaaa@38F3@
D^s=D^p^ap^BI(D^0)+D^p^ap^bI(D^<0) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcgaqbamaaBaaaleaacqWGZbWCaeqaaOGaeyypa0ZaaSaaaeaacuWGebargaqcaaqaaiqbdchaWzaajaWaaSbaaSqaaiabdggaHbqabaGccuWGWbaCgaqcamaaBaaaleaacqWGcbGqaeqaaaaakiabdMeajjabcIcaOiqbdseaezaajaGaeyyzImRaeGimaaJaeiykaKIaey4kaSYaaSaaaeaacuWGebargaqcaaqaaiqbdchaWzaajaWaaSbaaSqaaiabdggaHbqabaGccuWGWbaCgaqcamaaBaaaleaacqWGIbGyaeqaaaaakiabdMeajjabcIcaOiqbdseaezaajaGaeyipaWJaeGimaaJaeiykaKcaaa@4BF5@
D=|D^s|=D^p^ap^BI(D^0)+D^p^ap^bI(D^<0) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbaiabg2da9maaemaabaGafmiraqKbaKGbauaadaWgaaWcbaGaem4CamhabeaaaOGaay5bSlaawIa7aiabg2da9iabgkHiTmaalaaabaGafmiraqKbaKaaaeaacuWGWbaCgaqcamaaBaaaleaacqWGHbqyaeqaaOGafmiCaaNbaKaadaWgaaWcbaGaemOqaieabeaaaaGccqWGjbqscqGGOaakcuWGebargaqcaiabgwMiZkabicdaWiabcMcaPiabgUcaRmaalaaabaGafmiraqKbaKaaaeaacuWGWbaCgaqcamaaBaaaleaacqWGHbqyaeqaaOGafmiCaaNbaKaadaWgaaWcbaGaemOyaigabeaaaaGccqWGjbqscqGGOaakcuWGebargaqcaiabgYda8iabicdaWiabcMcaPaaa@5227@

where I(x [set membership] X) is the indicator function defined as I(x [set membership] X) = 1 if x [set membership] X and 0 otherwise. Note that:

D^=p^ap^b MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcaiabg2da9iabgkHiTiqbdchaWzaajaWaaSbaaSqaaiabdggaHbqabaGccuWGWbaCgaqcamaaBaaaleaacqWGIbGyaeqaaaaa@35AC@ whenever nab = 0, so that D^s MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcgaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F73@ = -1 and D^ MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcgaqbaaaa@2DD8@ = 1;

D^=p^ap^B MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcaiabg2da9iqbdchaWzaajaWaaSbaaSqaaiabdggaHbqabaGccuWGWbaCgaqcamaaBaaaleaacqWGcbGqaeqaaaaa@347F@ whenever naB = 0, so that D^s MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcgaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F73@ = 1 and D^ MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqcgaqbaaaa@2DD8@ = 1.

These two facts determine the bias toward disequilibrium of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ and D' that can lead to infer that two SNPs are in disequilibrium when they are actually in equilibrium. For example, the expected number of haplotypes ab in a sample of n haplotypes between two SNPs in equilibrium is npapb. If both pa and pb are smaller than 0.1, then the minimum sample size n that yields an expected number of haplotypes ab greater than 1 is 100, and this number goes up to 400 when both pa and pb are 0.05. Therefore, data from small samples and rare alleles do not provide information to discriminate between equilibrium and disequilibrium, while the MLE of D' returns its maximum value consistent with perfect disequilibrium. This situation is well known and supported by simulation studies. Teare and coauthors [4] showed the extent of this bias through extensive simulations in which they examined the effect of sample size, MAF and strength of LD on the MLE of D'. Their study suggested that the bias is severe in small samples (less than 100 subjects), when both alleles are rare (MAF less than 0.05), and the two SNPs are in equilibrium. An "ad hoc" solution consists of disregarding those SNPs with a MAF below some threshold. Although this reduces the bias of the MLEs, it introduces an ascertainment bias that may impact the inferred pattern of LD [7].

Bayesian approach

Our Bayesian estimator is based on the following intuition: on average, the magnitude of disequilibrium between two SNPs decreases at exponential rate with their physical distance. We use this information to build a conjugate prior distribution on the parameters pij with the property that, a priori, the larger the distance between two SNPs, the more likely the two SNPs are in linkage equilibrium. The standard conjugate prior to a multinomial distribution is a Dirichlet distribution with density function defined as:

p(pij)ijpijαij1αij>0. MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqabeqacaaabaGaemiCaaNaeiikaGIaemiCaa3aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGGPaqkcqGHDisTdaqeqbqaaiabdchaWnaaDaaaleaacqWGPbqAcqWGQbGAaeaaiiGacqWFXoqydaWgaaadbaGaemyAaKMaemOAaOgabeaaliabgkHiTiabigdaXaaaaeaacqWGPbqAcqWGQbGAaeqaniabg+GivdaakeaacqWFXoqydaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabg6da+iabicdaWiabc6caUaaaaaa@4C97@

Given data nij, the posterior distribution is still a Dirichlet distribution with density function:

p(pij)ijpijαij+nij1 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGWbaCcqGGOaakcqWGWbaCdaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabcMcaPiabg2Hi1oaarafabaGaemiCaa3aa0baaSqaaiabdMgaPjabdQgaQbqaaGGaciab=f7aHnaaBaaameaacqWGPbqAcqWGQbGAaeqaaSGaey4kaSIaemOBa42aaSbaaWqaaiabdMgaPjabdQgaQbqabaWccqGHsislcqaIXaqmaaaabaGaemyAaKMaemOAaOgabeqdcqGHpis1aaaa@4A55@

in which the prior hyper-parameters αij are updated into αij + nij. The prior means of the parameters pij are αij/αT, where αT = ∑ijαij. The posterior means become E(pij|n) = (αij + nij)/(αT + n) and can be used as point estimates of the parameters. Furthermore, the posterior distributions of the marginal probabilities pA and pB follow Beta distributions with hyper-parameters (αA + nA, αa + na) and (αB + nB, αb + nb), for αA = αAB + αAb, αa = αT - αA, αB = αAB + αaB, and αb = αT - αB.

The inference on the parameters D, Ds and D' is more complex. First, we note that we can write these parameters as follows:

D = pAB - pApB
Ds=Dpapbp(D<0)+DpapBp(D0) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacqWGebardaWgaaWcbaGaem4Camhabeaakiabg2da9maalaaabaGaemiraqeabaGaemiCaa3aaSbaaSqaaiabdggaHbqabaGccqWGWbaCdaWgaaWcbaGaemOyaigabeaaaaGccqWGWbaCcqGGOaakcqWGebarcqGH8aapcqaIWaamcqGGPaqkcqGHRaWkdaWcaaqaaiabdseaebqaaiabdchaWnaaBaaaleaacqWGHbqyaeqaaOGaemiCaa3aaSbaaSqaaiabdkeacbqabaaaaOGaemiCaaNaeiikaGIaemiraqKaeyyzImRaeGimaaJaeiykaKcaaa@4BF6@
D=Dpapbp(D<0)+DpapBp(D0) MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbaiabg2da9iabgkHiTmaalaaabaGaemiraqeabaGaemiCaa3aaSbaaSqaaiabdggaHbqabaGccqWGWbaCdaWgaaWcbaGaemOyaigabeaaaaGccqWGWbaCcqGGOaakcqWGebarcqGH8aapcqaIWaamcqGGPaqkcqGHRaWkdaWcaaqaaiabdseaebqaaiabdchaWnaaBaaaleaacqWGHbqyaeqaaOGaemiCaa3aaSbaaSqaaiabdkeacbqabaaaaOGaemiCaaNaeiikaGIaemiraqKaeyyzImRaeGimaaJaeiykaKcaaa@4B4A@

Equations (9) and (10) define the parameters Ds and D' as mixtures of two components, with weights p(D < 0) and p(D ≥ 0). The two components are non linear functions of the parameters pij, as is the parameter D, and make the exact inference on these parameters intractable. However, we can resort on Markov Chain Monte Carlo methods to generate a sample of values of either parameters from their posterior distribution that can be used for further inference. In Figure Figure1,1, we provide a model description that can be used in Winbugs 1.4 to generate samples from the posterior distributions of the parameters D, Ds and D'.

Figure 1
Model Specification in WinBugs 1.4.

Choice of the prior distribution

To complete the specification of the Bayesian model, we need to provide values for the hyper-parameters. Because we wish to encode the information that departure from equilibrium of any two SNPs is a function of their physical distance, we define:

αij = α(1 - exp(-d))

with α > 0, and the parameter d that represents the physical distance between the two SNPs in Mb (1 Mb = 1, 000 nucleotide bases). With this choice of hyper-parameters, the prior means of the probabilities pij are E(pij) = 1/4 for all i = A, a, j = B, b, so that, a priori, the two SNPs are expected to be in equilibrium. On the other hand, the posterior means of pij can be written as:

E(pij|n)=nn+αTnijn+αTn+αTαijαT=nn+4α(1exp(d))nijn+4α(1exp(d))n+4α(1exp(d))14 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqaaeGadaaabaGaemyrauKaeiikaGIaemiCaa3aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGG8baFcqWGUbGBcqGGPaqkaeaacqGH9aqpaeaadaWcaaqaaiabd6gaUbqaaiabd6gaUjabgUcaRGGaciab=f7aHnaaBaaaleaacqWGubavaeqaaaaakmaalaaabaGaemOBa42aaSbaaSqaaiabdMgaPjabdQgaQbqabaaakeaacqWGUbGBaaGaey4kaSYaaSaaaeaacqWFXoqydaWgaaWcbaGaemivaqfabeaaaOqaaiabd6gaUjabgUcaRiab=f7aHnaaBaaaleaacqWGubavaeqaaaaakmaalaaabaGae8xSde2aaSbaaSqaaiabdMgaPjabdQgaQbqabaaakeaacqWFXoqydaWgaaWcbaGaemivaqfabeaaaaaakeaaaeaacqGH9aqpaeaadaWcaaqaaiabd6gaUbqaaiabd6gaUjabgUcaRiabisda0iab=f7aHjabcIcaOiabigdaXiabgkHiTiGbcwgaLjabcIha4jabcchaWjabcIcaOiabgkHiTiabdsgaKjabcMcaPiabcMcaPaaadaWcaaqaaiabd6gaUnaaBaaaleaacqWGPbqAcqWGQbGAaeqaaaGcbaGaemOBa4gaaiabgUcaRmaalaaabaGaeGinaqJae8xSdeMaeiikaGIaeGymaeJaeyOeI0IagiyzauMaeiiEaGNaeiiCaaNaeiikaGIaeyOeI0IaemizaqMaeiykaKIaeiykaKcabaGaemOBa4Maey4kaSIaeGinaqJae8xSdeMaeiikaGIaeGymaeJaeyOeI0IagiyzauMaeiiEaGNaeiiCaaNaeiikaGIaeyOeI0IaemizaqMaeiykaKIaeiykaKcaamaalaaabaGaeGymaedabaGaeGinaqdaaaaaaaa@8FAC@

and, hence, as a weighted average of nij/n (the MLE estimates of pij) and the prior probabilities 1/4. The first weight n/(n + 4α(1 - exp(-d))) is an increasing function of the sample size n, and a decreasing function of α and d, while the second weight 4α(1 - exp(-d))/(n + 4α(1 - exp(-d))) is an increasing function of α and d, and a decreasing function of n. Therefore, for large sample sizes, the posterior means of pij approach the MLEs. This is consistent with the fact that, in large samples, the effect of the prior distribution on the posterior distribution becomes negligible. However, when the distance d decreases, the function 1 - exp(-d) approaches 0, and the weight n/(n + 4α(1 - exp(-d))) approaches 1, so that the Bayesian estimate becomes closer to the MLE. In the limiting case d = 0, or α = 0, the two estimates are identical. For fixed α and increasing distance (essentially d > 0.5Mb), the second weight approaches its maximum value 4α/(n + 4α), and larger values of α further increase the weight given to the prior mean. To contain the effect of the prior distribution, we use α = 1 and simulation studies that are described in the next section show that this choice produces a good trade-off between robustness and bias.

In the absence of a closed form expression for the prior distributions of the parameters D, Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ and D', we investigated the effect of α and d by generating stochastic estimates of their prior densities. Figure Figure22 shows the prior density of D'generated by Markov Chain Monte Carlo simulations in Winbugs 1.4 for α = 1, 4 and distance ranging between d = 0.001 Mb and d = 0.5 Mb. The estimates are based on a sample of 5, 000 iterations, after an initial burns in of 1, 000 iterations. The two plots in the top panel depict the prior density of D' for α = 1 (left panel) and α = 4 (right panel) when the distance between the two SNPs is d = 0.001 Mb. The prior density peaks at the extreme value D' = 0 that represents equilibrium between the two SNPs, and D' = 1 that represents perfect disequilibrium. Therefore, for small distance, this bimodal distribution makes these opposite situations almost equally likely. The effect of larger α is to shift the density toward equilibrium: for example the probability that D' < 0.5 is 0.54 when α = 1 and becomes 0.57 when α = 4. The effect of increasing α appears negligible in this situation, but it is more evident when the two SNPs are at a larger distance. For example, the two plots in the second panel depict the prior density of D' when d = 0.1 Mb. Compared to the densities in the top panel, now the prior densities are slightly skewed toward 0, thus making disequilibrium less likely. Once again, greater values of α (right panel) increase the skewness toward equilibrium. The two plots in the bottom panel show the prior densities when the distance between the two SNPs is 0.5 Mb and confirm the increasing weight given to equilibrium for larger distance d and larger α values: the prior density now assigns probability 0.68 to the event D' < 0.5, when α = 1, and probability 0.84 to the same event when α = 4. It is interesting to observe that, as the distance between SNPs decreases, then the prior hyperparameters approach 0, and the Bayesian estimates approach the MLE estimates. Accordingly, the prior distribution moves mass from D' = 0 to D' = 1 as the distance decreases and this explains the bimodal shape of the prior density in the top two panels.

Figure 2
Example of prior distribution of the parameter D' for α = 1 (column 1) and α = 4 (column 2) and increasing distance between the two SNPs: row 1 d = 0.001 Mb; row 2 d = 0.1 Mb and row 3 d = 0.5 Mb. The x-axis displays D' and the y-axes ...

As an example, Table Table11 displays the frequencies of the four haplotypes AB, Ab, aB and ab that were observed between SNPs S1 and S2 Chromosome 22, at the positions 15040669, 15043944. These are real data that were derived from the thirty trios of the CEPH population (Utah residents with ancestry from northern and western Europe) who provided the DNA samples for the IHMP [5]. The observed haplotype frequencies are consistent with the hypothesis of linkage equilibrium, because the expected number of haplotypes ab is 0.5 under equilibrium and the assumption that the population allele frequencies equal the marginal estimates pa = 0.03 and pb = 0.14. However, the lack of observed haplotypes ab could be due to perfect LD between each pair of SNPs. Given that the physical distance between S1 and S2 is 0.0032 Mb, and the average D' in chromosome 22 ranges between 0.8 and 1 for SNPs that are within 0.01 Mb, and becomes less than 0.5 for SNPs that are distant more than 0.1 Mb [5], it is likely that S1 and S2 are in disequilibrium. Consider now a third SNP S3 in the position 15405264 of chromosome 22. The frequencies of the four haplotypes between S1 and S3 is the same as in Table Table11 but now the physical distance between these two SNPs is 0.364 Mb. Given the extent of LD, equilibrium is more likely between S1 and S3, although the haplotype frequencies are the same. The MLE of D' is 1 in both cases, with the same confidence interval, while the Bayesian estimate of D' changes with the distance between the two SNPs. The plots in Figure Figure33 show the prior distribution of D' (plots on the left) and the posterior distribution (plots on the right) between the closest SNPs (first row) and the first and third SNP (second row). A priori, disequilibrium and equilibrium are equally likely when the two SNPs are very close, but the posterior distribution is dominated by the data and the left skewness is consistent with the hypothesis of disequilibrium between the two SNPs. The point estimate of D' is 0.96 with 95% credible interval (0.37, 1). The effect of the same data on the distribution of D' for SNPs that are further apart is however more contained: the posterior distribution of D' remains skewed to the right, the point estimates of D' is 0.39, and the 95% credible interval is (0, 0.97) showing the large uncertainty.

Table 1
Data are derived from the 30 trios of the CEPH population. Haplotype frequencies between two SNPs S1 and S2 in chromosome 22.
Figure 3
Examples of prior to posterior analysis using the data in Table 2. The x-axes display D' and the y-axes display the empirical estimate of the density function inferred with the program WinBugs 1.4. Figure (a) is the prior density of D' to measure the ...

Approximate estimates

In practical applications, we have computed the Bayesian estimate of D' for regions with at most 200 SNPs that would correspond to examining a block of approximately 500 kb assuming one SNP every 2.5 kb. However, if the focus is generating a point estimate of the parameters to be able to display LD over large regions or an entire chromosome as we have shown in [15], resort to MCMC methods may become unfeasible. It is possible to compute the exact posterior mean of D, and from this we can derive approximate estimates of Ds and D' based on a Taylor expansion. To this end, we replace the weights p(D < 0) and p(D ≥ 0) in Equations (9) and (10) by the indicator functions I(E(D|n) < 0) and I(E(D|n) ≥ 0), and the expectation of the non linear functions D/max D by the first order Taylor expansion:

E(D|n)=E(pAB|n)E(pA|n)E(pB|n)=αAB+nABαT+n(αA+nA)(αB+nB)(αT+n)2E(Ds|n)E(D|n){(αT+n)2(αa+na)(αb+nb)I(E(D|n)<0)+(αT+n)(αa+na)I(E(D|n)0)}E(D|n)E(D|n){(αT+n)2(αa+na)(αb+nb)I(E(D|n)<0)+(αT+n)(αa+na)I(E(D|n)0)} MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaafaqaaeWadaaabaGaemyrauKaeiikaGIaemiraqKaeiiFaWNaemOBa4MaeiykaKcabaGaeyypa0dabaGaemyrauKaeiikaGIaemiCaa3aaSbaaSqaaiabdgeabjabdkeacbqabaGccqGG8baFcqWGUbGBcqGGPaqkcqGHsislcqWGfbqrcqGGOaakcqWGWbaCdaWgaaWcbaGaemyqaeeabeaakiabcYha8jabd6gaUjabcMcaPiabdweafjabcIcaOiabdchaWnaaBaaaleaacqWGcbGqaeqaaOGaeiiFaWNaemOBa4MaeiykaKIaeyypa0ZaaSaaaeaaiiGacqWFXoqydaWgaaWcbaGaemyqaeKaemOqaieabeaakiabgUcaRiabd6gaUnaaBaaaleaacqWGbbqqcqWGcbGqaeqaaaGcbaGae8xSde2aaSbaaSqaaiabdsfaubqabaGccqGHRaWkcqWGUbGBaaGaeyOeI0YaaSaaaeaacqGGOaakcqWFXoqydaWgaaWcbaGaemyqaeeabeaakiabgUcaRiabd6gaUnaaBaaaleaacqWGbbqqaeqaaOGaeiykaKIaeiikaGIae8xSde2aaSbaaSqaaiabdkeacbqabaGccqGHRaWkcqWGUbGBdaWgaaWcbaGaemOqaieabeaakiabcMcaPaqaaiabcIcaOiab=f7aHnaaBaaaleaacqWGubavaeqaaOGaey4kaSIaemOBa4MaeiykaKYaaWbaaSqabeaacqaIYaGmaaaaaaGcbaGaemyrauKaeiikaGIafmiraqKbauaadaWgaaWcbaGaem4CamhabeaakiabcYha8jabd6gaUjabcMcaPaqaaiabgIKi7cqaaiabdweafjabcIcaOiabdseaejabcYha8jabd6gaUjabcMcaPmaacmqabaWaaSaaaeaacqGGOaakcqWFXoqydaWgaaWcbaGaemivaqfabeaakiabgUcaRiabd6gaUjabcMcaPmaaCaaaleqabaGaeGOmaidaaaGcbaGaeiikaGIae8xSde2aaSbaaSqaaiabdggaHbqabaGccqGHRaWkcqWGUbGBdaWgaaWcbaGaemyyaegabeaakiabcMcaPiabcIcaOiab=f7aHnaaBaaaleaacqWGIbGyaeqaaOGaey4kaSIaemOBa42aaSbaaSqaaiabdkgaIbqabaGccqGGPaqkaaGaemysaKKaeiikaGIaemyrauKaeiikaGIaemiraqKaeiiFaWNaemOBa4MaeiykaKIaeyipaWJaeGimaaJaeiykaKIaey4kaSYaaSaaaeaacqGGOaakcqWFXoqydaWgaaWcbaGaemivaqfabeaakiabgUcaRiabd6gaUjabcMcaPaqaaiabcIcaOiab=f7aHnaaBaaaleaacqWGHbqyaeqaaOGaey4kaSIaemOBa42aaSbaaSqaaiabdggaHbqabaGccqGGPaqkaaGaemysaKKaeiikaGIaemyrauKaeiikaGIaemiraqKaeiiFaWNaemOBa4MaeiykaKIaeyyzImRaeGimaaJaeiykaKcacaGL7bGaayzFaaaabaGaemyrauKaeiikaGIafmiraqKbauaacqGG8baFcqWGUbGBcqGGPaqkaeaacqGHijYUaeaacqWGfbqrcqGGOaakcqWGebarcqGG8baFcqWGUbGBcqGGPaqkdaGadeqaaiabgkHiTmaalaaabaGaeiikaGIae8xSde2aaSbaaSqaaiabdsfaubqabaGccqGHRaWkcqWGUbGBcqGGPaqkdaahaaWcbeqaaiabikdaYaaaaOqaaiabcIcaOiab=f7aHnaaBaaaleaacqWGHbqyaeqaaOGaey4kaSIaemOBa42aaSbaaSqaaiabdggaHbqabaGccqGGPaqkcqGGOaakcqWFXoqydaWgaaWcbaGaemOyaigabeaakiabgUcaRiabd6gaUnaaBaaaleaacqWGIbGyaeqaaOGaeiykaKcaaiabdMeajjabcIcaOiabdweafjabcIcaOiabdseaejabcYha8jabd6gaUjabcMcaPiabgYda8iabicdaWiabcMcaPiabgUcaRmaalaaabaGaeiikaGIae8xSde2aaSbaaSqaaiabdsfaubqabaGccqGHRaWkcqWGUbGBcqGGPaqkaeaacqGGOaakcqWFXoqydaWgaaWcbaGaemyyaegabeaakiabgUcaRiabd6gaUnaaBaaaleaacqWGHbqyaeqaaOGaeiykaKcaaiabdMeajjabcIcaOiabdweafjabcIcaOiabdseaejabcYha8jabd6gaUjabcMcaPiabgwMiZkabicdaWiabcMcaPaGaay5Eaiaaw2haaaaaaaa@203C@

The main source of error in this approximation is due to replacing the probability P(D ≥ 0) by the indicator function. When we are in a clear situation of disequilibrium, the probability of the event (D < 0) is almost 0 or 1, and the approximate posterior expectation of Ds and D' approaches the exact values. When p(D < 0) is far from 0 and 1, then the error increases and biases the estimates toward disequilibrium. This is consistent with the fact that the approximation is close to the MLE and therefore suffers of some bias toward disequilibrium. However, we will show with results of simulations in the next section that this bias is smaller. Because of this similarity with the MLE, we will refer to these approximate estimates as the maximum a posteriori (MAP).

Unknown phase

When the genotype data are unphased, the ML estimation uses the EM algorithm to infer the unknown phase given the distribution of known haplotypes [16]. We adopt the same procedure for the calculation of the MAP estimates. Given the frequencies of known haplotypes, nij, i = A, a, j = B, b, the algorithm first computes the MAP estimates of the haplotype frequencies pij, and then alternates an expectation step to replace the unphased haplotypes by their expected phase and a maximization step to compute the MAP estimates using observed and expected haplotypes. The algorithm typically converges in less than 4 steps. Unknown haplotypes are regarded as missing values in the stochastic analysis, so that they become parameters of the model and are estimated within the Gibbs sampling algorithm. We also note that, when the genotype data are from trios, we use all phased haplotypes to compute the initial frequencies, regardless of whether they are transmitted from parents to offspring.

The method is implemented in the computer program BLink that is developed in C++ and is available from the supplementary web site [11]. The software accepts genotype data from either unrelated individuals or nuclear families consisting of two parents and one child.


We examined the performance of the Bayesian estimator in three groups of simulated data and a real data set derived from the IHMP. All data used in this evaluation are available from the supplementary web site [11].

Materials and methods

Group 1

The objectives of the first simulation study were (1) to compare the performance of the Bayesian estimates and the MLE for different sample sizes and small values of the MAF, and (2) to assess the accuracy of the MAP approximation to the stochastic estimates of Ds and D'. We generated samples of 60, 120, 240 haplotypes, in which we modeled the true D' as D' = exp(-d) for a distance d ranging from 0 to 0.5 Mb. For each value of D' and each sample size, we generated 1,000 samples of haplotypes by using the joint probability of haplotypes defined by Equation (1), with pB generated from a uniform distribution in the interval [0.5; 0.9) and pA generated from a uniform distribution in the interval [pB; 0.95). In each simulated sample, we computed the MLE, and the MAP estimate of Ds, as well as the stochastic estimate of Ds using Gibbs sampling. To compute the stochastic estimates we run the chain for an initial burn-in of 1, 000 iterations and then based the inference on a second sample of 1, 000 iterations. We used as point estimate the median value of the simulated sample and α = 1 in each analysis.

Group 2

In this second set, we generated a sample of 1, 000 individuals in a region of 0.5 Mb with the program MS that simulates genotype data under a variety of neutral models [17]. We considered a population of 1 million individuals, a mutation rate of 10E - 9 per base pair, and a recombination rate of 8 × 10E - 9 between adjacent base pairs per generation. Only 10% of the 8080 SNPs in the sample of 1, 000 individuals were randomly selected and, from this sample, we randomly generated subsamples of sizes 60, 120, 240 and 480 haplotypes. In the absence of "true" values for D', we studied the decay of LD inferred by the MLE and the MAP estimator for increasing physical distances, versus the LD decay inferred in the original sample of 1, 000 individuals. Each point in the plot is the average estimate of D' for all the SNPs within a physical distance of d ± 0.01 Mb. By averaging the LD between pairs of SNPs at increasing distance, these plots are used to summarize the decay of LD over large regions [18,10]. Ascertainment bias was assessed by repeating the analysis with these thresholds on the MAF: 0, 0.05, 0.1, 0.2. Sensitivity to the prior distribution was assessed by repeating the analysis for α = 0.25, 1, 2, 4.

Group 3

To examine the robustness of the MAP estimators, we also generated data under a different model of allele frequency, linkage disequilibrium and population differentiation that is implemented in the software COSI [19]. We simulated a sample of 1, 000 individuals under the calibrated model for the European population that considers bottlenecks, migration and recombination hotspots spacing 0.085 Mb [19]. We randomly selected 10% of the generated 32452 SNPs and from this sample we randomly selected subsamples of 60, 120, 240 and 480 haplotypes. We produced LD decay plots using the thresholds 0, 0.05, 0.1, 0.2 on the MAF and the range of α values that were used for the analysis of the simulated data in group 2.

Real data

Real data were obtained from the first phase of the IHMP [5]. We used genotype data of the 30 trios of the CEPH and Yoruba in Ibadan, Nigeria and chromosome 22 because its pattern of LD has been widely studied [9]. This chromosome was genotyped in 19120 and 19854 SNPs in the CEPH and Yoruba samples. We produced LD decay plots using the thresholds on the MAF and the range of α values that we used for the analysis of the simulated data in group 2. We also produced more informative graphical displays of pairwise LD, by generating bi-dimensional maps similar to those generated by the program Haploview, but with a lower resolution to enable the display of LD over larger regions. The maps were generated with the program BMapBuilder [15] using the MLE and the MAP estimate of D'.


Figure Figure44 reports the distribution of the ML, MCMC and MAP estimates of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ in the data simulated in Group 1, for different values of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ and sample sizes. The plots on the left show the bias of the MLE of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ toward disequilibrium that is more apparent for negative values of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ and samples with less than 120 haplotypes. The median ML estimates of D' is -1 when the real D' is -0.75 for samples with less than 120 haplotypes, while the median MCMC estimate in 1000 simulations is -.82 in samples with 60 haplotypes and -0.76 in samples with 120 haplotypes. Furthermore, even with sample sizes of less than 60 haplotypes, the MCMC estimates and the MAP approximations are virtually undistinguishable thus suggesting that the screening of LD in large regions can be based on the MAP approximation.

Figure 4
Distribution of the estimates of Ds MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaacuWGebargaqbamaaBaaaleaacqWGZbWCaeqaaaaa@2F64@ ...

Figures Figures5,5, ,66 and and77 show the summary of the LD decay generated with the ML and MAP estimators of D'. In each figure, the x-axis reports the distance between pairs of SNPs in kb. For each x value, the y-axis reports the estimate of the average D' for all SNPs within a distance x ± 0.01 Mb. Figure Figure55 plots the LD decay of the data simulated with the program MS. Panels (a) and (b) display the LD decay generated using the ML and MAP estimates of D', with α = 1, and MAF > 0 (dashed lines), MAF > 0.05 (continuous lines), and samples sizes ranging from 60 to 1, 000 represented by different colors. Both the ML and MAP estimates show approximately the same values in the sample of 1, 000 individuals and MAF> 0.05 (continuous lines, pale blue), so that we can consider those values as representative of population values. The LD decay plots based on the MLE of D' appear to be extremely sensitive to the threshold chosen for the MAF. For example when the MAF > 0 (dashed lines), the ML estimator leads us to infer long range disequilibrium. In contrast, the MAP estimator produces more consistent results across different thresholds on the MAF, and sample sizes (see also supplementary results in [11]), to the point that we do not need to impose any threshold on the MAF. The plots in panels (c) and (d) display the LD decay generated with the MAP estimator using α = 0.25 (c) and α = 4 (d). The choice of the prior hyperparameter appears to be influential when all the SNPs are used to estimate the LD decay, with smaller values of α that make the MAP estimator more sensitive to the sample size, and larger values of α that increase the bias toward equilibrium. These results would suggest choosing α = 1 in practical applications, to achieve a good balance between robustness and bias reduction.

Figure 5
LD decay plots for the data generated in Group 2, based on the MLE (panel a) and the MAP approximation (panel b: α = 1, panel c: α = 0.25, and panel d: α = 4) of D'. The line type represents two thresholds on the MAF: 0.0 (dashed ...
Figure 6
LD decay plots for the data generated in Group 3, with high LD, MAF> 0.05, and sporadic hotspots. The left panel displays the LD decay inferred by using the MLE (dashed lines) and the MAP approximation (continuous line), with α = 1. The ...
Figure 7
Panels (a) and (b): LD decay plot of chromosome 22, based on the MLE of D' (panel a) and the MAP estimator of D' (panel b) in the CEPH population. The line color represents four thresholds on the MAF: 0.0 (black); 0.05 (red); 0.10 (green); 0.20 (dark ...

The LD decay plots in Figure Figure66 were generated from the data simulated with the program COSI with long range disequilibrium. The plot on the left displays the average LD computed with the MLE (dashed lines), and the MAP estimator with α = 1 (continuous lines), MAF> 0.05, and increasing sample sizes. The bias of the MLE of D' now works in favor of this estimator that is able to reproduce the larger values of D' compared to the MAP estimator. Although of smaller magnitude, the MAP estimate of D'remains consistent with long range disequilibrium. The plot in panel (b) shows the LD decay inferred with the MAP estimator using α = 0.25 (dashed line) and α = 4 (continuous line). The evident departure from the true pattern of LD when α = 4 again suggests choosing a small α value, say α = 1, to limit the bias toward equilibrium.

Figure Figure77 plots the LD decay generated with the ML and MAP estimators using the CEPH and Yoruba samples of the IHMP, different thresholds on the MAF, and different α values. The results confirm the bias toward disequilibrium of the MLE of D' – panels (a) and (c)- when all the SNPs are used in the analysis. The MAP estimator leads to more consistent results for a range of thresholds on the MAF, see panels (b) and (d). These results suggest that, even with a small sample size, we do not need to select SNPs based on the MAF, thus removing the issue of the ascertainment bias. Panels (e) and (f) display the LD decay in Chromosome 22, Yoruba samples, for α = 0.25 (e) and α = 4 (f). Values of α greater than 1 appear to bias the estimator toward equilibrium, while values of α smaller than 1 lead to a loss of robustness. Consistently with the analysis of simulated data, the choice α = 1 appears to achieve a good balance between robustness and bias reduction.

Figure Figure99 provides a two-dimensional display of pairwise LD. Each plot represents the value of D' between a pair of SNPs as a colored pixel whose intensity is related to the value of D', see the legend in Figure Figure8.8. Higher resolution maps (16 pixels for a pair of SNPs) are available in the supplementary web site. The first row of Figure Figure99 shows maps of LD for a region of chromosome 22 in the CEPH populations and the second row shows maps of LD for the Yoruba population, using the MLE (first column) and the MAP estimator (second column). These four maps were generated without imposing any threshold on the MAF, while the maps in the third row display the pairwise LD in the same segment of chromosome 22 of the Yoruba population, based on the MLE of D', MAF> 0.05 (panel e) and MAF>0.1 (panel f). The MAP estimator of D' reduces the long range LD – maps (b) and (d)- without the need of imposing a threshold on the MAF. This smoothing induced by the MAP estimator has the effect of highlighting blocks of high LD more clearly, compared to the MLE. For example, two blocks are clearly visible on the left of the maps in panel (d) while they are hidden in a larger region of high LD in the map created with the MLE of D' (panel c) and even with tighter thresholds on the MAF those two blocks are hardly recognizable (panels e and f). These results provide evidence of a block structure of the human genome that does not appear to be an artifact of low SNP density [5]. However, they also suggest the presence of smaller blocks of LD that may impact on the minimum number of tag SNPs needed to have powerful genome wide association studies.

Figure 8
Colors used in bitmaps for different values of D'.
Figure 9
Maps of LD in a region of chromosome 22 based on the MLE of D' in the CEPH population (a) and the Yoruba population (c) and the MAP estimator of D' in the CEPH population (b) and the Yoruba population (d). The maps in panels (e) and (f) were inferred ...


A good estimation of D' is crucial for a better understanding of patterns of LD, a robust identification of haplotype blocks, more accurate algorithms for haplotype reconstruction, and better reproducibility of genetic studies. The popular MLE of D' is biased toward disequilibrium, and requires the use of thresholds on the MAF that have been shown to introduce ascertainment bias. By using an informative prior that models the LD between SNPs based on their physical distance, we define a Bayesian estimator that outperforms the MLE without increasing computational complexity. Our estimator is slightly biased toward equilibrium, but this bias tends to disappear quickly with increasing sample sizes, and at a faster rate than the bias toward disequilibrium of the MLE. Furthermore, our evaluation shows that the MAP estimator does not require any thresholds on the MAF.

There are several limitations to this work. The probability distribution of the haplotypes is modelled using a multinomial distribution with a Dirichlet prior, and this assumption can be relaxed to include more general models. Also, the prior distribution does not take into account recombination hotspots. We have assessed the impact of this assumption in our simulations, but more evaluation is needed. Our analysis is now limited to biallelic SNPs, however our Bayesian model can be extended to include measures of LD for multi-allelic SNPs. For example, a first-order approximation of the average estimator of D' suggested in [2] can be computed by averaging the MAP estimates. Some more work is needed to examine the effect of the prior hyper-parameters. In future work we will extend our results to other measures of LD, particularly r2 = D/(pApapBpb). Some preliminary results that are posted in our supplementary web site suggest that a Bayesian estimator of r2 developed along the line of the estimator introduced in this paper would gain robustness.

Authors' contributions

PS developed the stochastic method, designed and carried out part of the simulations, and drafted the manuscript. MAG developed and evaluated the approximate method, and she implemented the method in a computer program. Both authors designed the study, and read and approved the final manuscript.


Research supported by NIH/NHLBI grant R21 HL080463-01, NIH/NIDDK 1R01DK069646-01A1 and the Spanish research program [projects TIN2004-06204-C03-02 and TIN2005-02516]. Comments of three anonymous reviewers were very helpful to improve the initial version of the manuscript.


  • Wall JD, Pritchard JK. Haplotype Blocks and Linkage Disequilibrium un the Human Genome. Genetics. 2003;4:587–597. [PubMed]
  • Hedrick PW. Gametic disequilibrium measures: proceed with caution. Genetics. 1987;117:331–341. [PMC free article] [PubMed]
  • Lewontin RC. On measures of gametic disequilibrium. Genetics. 1988;120:849–852. [PMC free article] [PubMed]
  • Teare MD, Dunning AM, Durocher F, Rennart G, Easton DF. Sampling Distribution of Summary Linkage Disequilibrium measures. Annals of Human Genetics. 2002;66:223–233. doi: 10.1046/j.1469-1809.2002.00108.x. [PubMed] [Cross Ref]
  • HapMap-Consortium TI. A haplotype map of the human genome. Nature. 2005;437:1299–1320. doi: 10.1038/nature04226. [PMC free article] [PubMed] [Cross Ref]
  • Barrett JC, Maller J, Daly MJ. Haploview: analysis and visualization of LD and haplotype maps. Bioinformatics. 2005;21:263–263. doi: 10.1093/bioinformatics/bth457. [PubMed] [Cross Ref]
  • Nielsen R, Signorovitch J. Correcting for ascertainment biases when analyzing SNP data: applications to the estimation of linkage disequilibrium. Theoretical Population Biology. 2003;63:245–255. doi: 10.1016/S0040-5809(03)00005-4. [PubMed] [Cross Ref]
  • Ronald J, Akey JM. Genome-wide scans for loci under selection in humans. Hum Genom. 2005;2:113–125. [PMC free article] [PubMed]
  • Dawson E, Abecasis G, Bumpstead S, Chen Y, Hunt S, Beare DM, JP , et al. A first-generation linkage disequilibrium map of human chromosome 22. Nature. 2002;418:544–548. doi: 10.1038/nature00864. [PubMed] [Cross Ref]
  • Reich DE, Cargill M, Bolk S, Ireland J, Sabeti PC, Richter DJ, Lavery T, Kouyoumjian R, Farhadian SF, Ward R, Lander ES. Linkage disequilibrium in the human genome. Nature. 2001;411:199–204. doi: 10.1038/35075590. [PubMed] [Cross Ref]
  • Sebastiani P, Abad-Grau M. 2007. http://bios.ugr.es/BLink/supplementary/
  • Morton NE, Zhang W, Taillon-Miller P, Ennis S, Kwok PY, Collins A. The optimal measure of allelic association. Proceedings of the National Academy of the USA. 2001;98:5217–5221. doi: 10.1073/pnas.091062198. [PMC free article] [PubMed] [Cross Ref]
  • Bishop Y, Fienberg SE, Holland P. Discrete Multivariate Analysis: Theory and Practicee. Cambridge, MA: MIT Press; 1975.
  • Lewontin RC. The interaction of selection and linkage. 1: general considerations: heterotic models. Genetics. 1964;49:49–67. [PMC free article] [PubMed]
  • Abad M, Montes R, Sebastiani P. Building Chromosome-Wide LD Maps. Bioinformatics. 2006:1933–1934. doi: 10.1093/bioinformatics/btl288. [PMC free article] [PubMed] [Cross Ref]
  • Ott J. Analysis of human genetic linkage. Baltimore, MD: John Hopkins; 1999.
  • Hudson RR. Generating samples under a Wright-Fisher neutral model of genetic variation. Bioinformatics. 2002;18:337–338. doi: 10.1093/bioinformatics/18.2.337. [PubMed] [Cross Ref]
  • Dunning A, Durocher F, Healey C, Teare MD, McBride SE, Carlomagno F, Xu CF, Dawson E, Rhodes S, Ueda S, Lai E, Luben RN, Rensburg EJV, Mannermaa A, Kataja V, Rennart G, Dunham I, Purvis I, Easton D, Ponder BA. The extent of linkage disequilibrium in four populations with distinct demographic histories. American Journal of Human Genetics. 2000;67:1544–54. doi: 10.1086/316906. [PMC free article] [PubMed] [Cross Ref]
  • Schaffner SF, Foo C, Gabriel S, Reich D, Daly MJ, Altshuler D. Calibrating a coalescent simulation of human genome sequence variation. Genome Research. 2005;15:1576–1583. doi: 10.1101/gr.3709305. [PMC free article] [PubMed] [Cross Ref]

Articles from BMC Genetics are provided here courtesy of BioMed Central


Related citations in PubMed

See reviews...See all...

Cited by other articles in PMC

See all...


  • PubMed
    PubMed citations for these articles
  • Structure
    Published 3D structures

Recent Activity

Your browsing activity is empty.

Activity recording is turned off.

Turn recording back on

See more...