Tutorials › Statistical Genetics › Worked Example of Refining a Locus Across Ancestries

Fine-Mapping Across Ancestries · Tutorial 654 of 989

Worked Example of Refining a Locus Across Ancestries

Follow a hypothetical locus from harmonized ancestry-specific association results through conditional analysis to a trans-ancestry credible set.

Advanced 12 min read

What You'll Learn

  • Check allele alignment and variant coverage before comparing ancestry-specific summary statistics
  • Use ancestry-specific LD to interpret marginal association signals
  • Calculate a two-variant conditional score from summary statistics and LD
  • Distinguish evidence for a second signal from evidence that a lead variant is causal
  • Construct and compare ancestry-specific and joint credible sets
  • Explain how different LD patterns can improve variant resolution

Why a locus must be read across ancestries

At a locus with several correlated variants, the strongest marginal association is not necessarily the causal variant. A variant can have a large association statistic because it is correlated with the causal variant, and the correlations can differ across ancestry groups. Comparing those patterns can help separate variants that look similar in one group. The comparison is useful only when the summary statistics, variant alleles, and linkage disequilibrium (LD) information are aligned and interpreted under a clearly stated model.

This tutorial follows a hypothetical locus in two ancestry groups. It moves from harmonized marginal statistics to conditional analysis and then to posterior probabilities and credible sets. The goal is to show how each stage changes the resolution of the evidence—not to treat a small credible set as proof of causality.

Definition: A marginal association statistic for a variant tests its association without conditioning on other variants in the locus. Conditional analysis tests a variant's association after accounting for specified other variants. A credible set is a set of variants whose posterior probabilities sum to at least a chosen target, such as 95%, under a specified fine-mapping model.

Set up a comparable two-ancestry analysis

Suppose the locus contains three variants, V1, V2, and V3. Before comparing results, the effect allele must refer to the same allele for each variant in both ancestry groups. For example, if the reported effect allele at V1 is A in one group but T in the other, first establish whether those are opposite alleles at the same site and, if so, reverse the allele direction consistently. A sign difference caused by allele coding is not evidence of biological effect heterogeneity.

The same variants must also be represented in both sets of summary statistics, with matching variant identities and allele frequencies checked where available. Each ancestry group needs an LD matrix estimated from an appropriate reference or study sample. The entries of an LD matrix are correlations between the variants' standardized genotypes; they are not association effects. Using the wrong ancestry's LD can distort both conditional statistics and posterior rankings.

For the worked analyses, assume that variant identities and alleles have been harmonized, the listed variants are available in both groups, and each LD matrix is a valid ancestry-matched estimate. We also assume that the groups' samples are independent. When comparing credible sets below, the model allows ancestry-specific effect sizes but assumes one shared causal variant among the three candidates. This is a model assumption, not a conclusion established by the data.

Worked Example: Reading Harmonized Marginal Results

Consider these hypothetical marginal association results. The table reports Z statistics after aligning the effect allele to the same allele in both groups.

VariantHarmonized effect alleleAncestry A ZAncestry B Z
V1A8.06.0
V2C7.62.1
V3G1.00.8

V1 has the largest marginal Z statistic in both groups. In ancestry A, however, V2 is nearly as strong. This is not enough to conclude that V1 and V2 are two independent signals, or that either is causal. We need the LD correlations to understand whether one variant can account for the other's marginal association.

Conditional analysis uses ancestry-specific LD

A simple conditional calculation illustrates why the same marginal results can imply different resolution in different ancestry groups. For two standardized variant scores with correlation \(r_{12}\), the conditional score for variant 2 given variant 1 is

$$ Z_{2\mid 1}=\frac{Z_2-r_{12}Z_1}{\sqrt{1-r_{12}^2}}. $$

The numerator removes the component of variant 2's score predicted by its LD with variant 1. The denominator standardizes the residual score. This expression follows from the bivariate score model in which the two marginal scores have unit variances and covariance \(r_{12}\). It is a two-variant conditional score, not a substitute for conditioning on all relevant variants when more are included in a locus model.

Worked Example: Conditioning V2 on V1 in Each Ancestry

Suppose the ancestry-specific LD correlations between V1 and V2 are \(r_{12}=0.90\) in ancestry A and \(r_{12}=0.20\) in ancestry B. Use the Z statistics above to calculate the conditional score for V2 in each group.

For ancestry A,

$$ Z_{2\mid 1} =\frac{7.6-(0.90)(8.0)}{\sqrt{1-0.90^2}} =\frac{0.40}{\sqrt{0.19}} =\frac{0.40}{0.4359} =0.918. $$

For ancestry B,

$$ Z_{2\mid 1} =\frac{2.1-(0.20)(6.0)}{\sqrt{1-0.20^2}} =\frac{0.90}{\sqrt{0.96}} =\frac{0.90}{0.9799} =0.919. $$

In both groups, the conditional score is small compared with the marginal scores. In this two-variant comparison, the results are consistent with V2's marginal association being explained by its correlation with V1 rather than by a clearly independent V2 signal. This calculation alone does not prove that V1 is causal: an unobserved or untested variant, additional signals, or model misspecification could change the interpretation.

The conditional result for V1 given V2 shows how the groups provide different information about which variant better explains the association. The corresponding calculation is \(Z_{1\mid 2}=(Z_1-r_{12}Z_2)/\sqrt{1-r_{12}^2}\).

Worked Example: Comparing the Reciprocal Conditional Scores

Using the same data, calculate the conditional score for V1 given V2. In ancestry A,

$$ Z_{1\mid 2} =\frac{8.0-(0.90)(7.6)}{\sqrt{0.19}} =\frac{1.16}{0.4359} =2.661. $$

In ancestry B,

$$ Z_{1\mid 2} =\frac{6.0-(0.20)(2.1)}{\sqrt{0.96}} =\frac{5.58}{0.9799} =5.695. $$

The contrast is informative. In ancestry A, strong LD makes V1 and V2 difficult to distinguish using these two variants alone. In ancestry B, their weaker LD leaves a much stronger conditional score for V1. The results therefore shift support toward V1 as the better-resolved association candidate, while still not establishing causality. A full locus analysis should include the other variants and any additional conditional signals supported by the data.

From conditional signals to posterior probabilities

Conditional analysis asks whether an association remains after accounting for selected variants. Bayesian fine-mapping instead compares candidate causal configurations under an explicit likelihood and prior. For a single-causal-variant model, let \(BF_j\) denote the Bayes factor for variant \(j\) relative to the null model, and let \(\pi_j\) be its prior probability of being causal. The posterior probability for variant \(j\), conditional on the model and candidate set, is

$$ PP_j=\frac{\pi_j BF_j}{\sum_k \pi_k BF_k}. $$

If the two ancestry samples are independent and the model specifies one shared causal variant, the joint evidence for a candidate can be formed from the ancestry-specific likelihoods. In a simple shared-variant comparison, the joint Bayes factor is the product of the ancestry-specific Bayes factors. The model must still specify how effects are handled; here, effect sizes may differ across ancestries even though the causal-variant identity is shared. These posterior probabilities are conditional on the candidate variants, the likelihood, the prior, and those model assumptions.

A credible set is constructed by ranking variants from largest to smallest posterior probability and adding them until their cumulative posterior probability reaches the target. The set is not a frequentist confidence interval, and its nominal coverage does not guarantee that the true causal variant is included if the candidate list or model is inadequate.

Worked Example: Combining Ancestry-Specific Evidence

Suppose a single-causal-variant analysis assigns equal prior probabilities to V1, V2, and V3. For illustration, assume the ancestry-specific Bayes factors, relative to a common reference, are as follows. These are hypothetical outputs from the specified likelihood, not values calculated from the Z statistics alone.

VariantAncestry A Bayes factorAncestry B Bayes factorProduct
V11.001.001.000
V20.960.050.048
V30.200.040.008

Because the prior probabilities are equal, the unnormalized joint posterior weights are the products shown. Their sum is \(1.000+0.048+0.008=1.056\). Thus,

$$ PP_1=\frac{1.000}{1.056}=0.9470,\qquad PP_2=\frac{0.048}{1.056}=0.04545,\qquad PP_3=\frac{0.008}{1.056}=0.007576. $$

The cumulative posterior probability for V1 alone is 0.9470, just below 0.95. Adding V2 gives \(0.9470+0.04545=0.9925\), so the 95% credible set is \(\{V1,V2\}\). By comparison, ancestry A's weights alone sum to \(1.00+0.96+0.20=2.16\), giving posterior probabilities 0.4630, 0.4444, and 0.09259; its 95% set contains all three variants. In this hypothetical comparison, the second ancestry's evidence changes the joint ranking and reduces the set from three variants to two. The joint set still does not distinguish V1 from V2 with certainty.

How LD differences change resolution

The reason ancestry comparison can improve fine-mapping is that association statistics reflect both causal effects and the LD structure linking tested variants to causal variants. If V1 and V2 are highly correlated in one ancestry, their marginal statistics may be similar, and that group's data may not sharply distinguish them. If they are less correlated in another ancestry, the marginal and conditional patterns can differ enough to favor one candidate. Joint evidence can then concentrate posterior probability more strongly than either ancestry's evidence alone.

This benefit depends on usable information, not simply on the number of ancestry groups. A smaller sample, lower allele frequency, poorer imputation, or an unsuitable LD reference can make one group's contribution weak or misleading. A small joint credible set is most persuasive when it is stable to reasonable prior choices and LD uncertainty and when the assumed causal-sharing structure is scientifically defensible. Posterior concentration under one model should not be confused with proof that its assumptions are true.

1
Align the evidence.
Verify variant identity, effect-allele direction, coverage, and ancestry-specific LD before comparing statistics.
2
Check conditional signals.
Use the appropriate ancestry's LD to ask whether candidate associations remain after accounting for other variants.
3
Compare posterior rankings.
Interpret ancestry-specific and joint posterior probabilities under the same stated causal-sharing and effect model.
4
Report the resolution, not just the lead.
State the credible set, its cumulative posterior probability, and the limitations of the candidate list and model.

Common mistake: treating the strongest statistic as the answer

A common but incorrect argument is: “V1 has the largest Z statistic in both ancestries, so V1 is the causal variant.” A marginal Z statistic measures evidence for association at that variant, not the probability that it is causal. LD can produce a strong marginal association at a noncausal proxy. The correction is to examine harmonization, ancestry-specific LD, conditional results, and posterior evidence under an explicit model. Even then, the conclusion should describe how well the data distinguish candidates, rather than claim certainty.

Key takeaway: Trans-ancestry refinement comes from combining comparable association evidence with ancestry-specific LD. Conditional analysis tests whether signals persist beyond selected variants; posterior credible sets summarize uncertainty under a fine-mapping model. Neither a lead statistic nor a narrow credible set alone proves causality.

Check Your Understanding

Use the definitions and calculations above to answer these questions.

  1. Why must effect alleles be harmonized before comparing the signs of ancestry-specific association statistics?
  2. If two variants have a high LD correlation in ancestry A but a low correlation in ancestry B, how might that affect their conditional evidence?
  3. In a single-causal-variant model, what quantities are normalized to obtain posterior probabilities?
  4. Why is a 95% credible set not a guarantee that the causal variant is among the variants listed?
  5. What is the difference between a marginal association statistic and a conditional association statistic?
Clinical Biostats