Tutorials › Statistical Genetics › Functional Annotation Priors for Causal Variants

Bayesian Statistical Fine-Mapping · Tutorial 629 of 989

Functional Annotation Priors for Causal Variants

Use annotation-dependent prior weights to update fine-mapping probabilities while keeping functional evidence distinct from association evidence.

Advanced 10 min read

What You'll Learn

  • Define annotation-dependent prior weights for candidate variants
  • Normalize weights into priors under a single-causal-variant model
  • Calculate posterior probabilities by combining priors and Bayes factors
  • Specify annotation-weighted priors for configurations with a fixed causal count
  • Distinguish prior information from association likelihood evidence
  • Recognize why functional annotation does not prove a variant is causal

Why Use Functional Annotations as Priors?

Fine-mapping compares candidate variants using association evidence, but candidates need not be equally plausible before that evidence is considered. A variant in a protein-altering sequence or a relevant regulatory element may be assigned a higher prior probability of being causal than a variant with no such annotation. The key is to use annotation as prior information, then update that information with the association data. An annotation is not a demonstration that a variant causes the trait.

Let \(\mathcal V=\{1,\ldots,m\}\) be the set of candidate variants at a locus. Let \(A_i\) denote the functional annotation vector for variant \(i\), and let \(D\) denote the association data used for fine-mapping. A prior describes relative plausibility before considering \(D\); a Bayes factor summarizes how well the data support one causal explanation relative to a reference explanation. Keeping these roles separate makes the analysis interpretable.

Definition: An annotation-dependent prior assigns prior probabilities to causal variants or causal configurations using functional annotation information. The prior is specified before updating with the association data \(D\). A posterior probability is the probability of a variant or configuration after combining its prior probability with the likelihood of the observed data.

From Annotation Scores to Variant Priors

A common model maps each variant's annotations to a score. For example, let \(A_i\) contain indicators for a coding consequence and for overlap with a relevant regulatory element. A linear score is \(\eta_i=\gamma_0+\gamma^\mathsf{T}A_i\), where \(\gamma\) contains coefficients describing how annotations relate to prior causal plausibility. Transforming the score with an exponential gives a positive weight \(w_i=\exp(\eta_i)\). A positive coefficient raises the weight, relative to otherwise comparable variants; a negative coefficient lowers it.

For a model that assumes exactly one causal variant in the candidate set, normalize the weights to obtain prior probabilities. The normalization ensures that probabilities sum to one. The coefficients should be chosen or estimated using a defensible source of prior information; they are not automatically learned from the association evidence at the locus being fine-mapped.

$$ w_i=\exp(\eta_i), \qquad \pi_i=P(C=i\mid A)=\frac{w_i}{\sum_{j=1}^{m}w_j}, \qquad \sum_{i=1}^{m}\pi_i=1 $$

Here \(C=i\) means variant \(i\) is the causal variant, and \(A\) denotes the annotation information for the candidate set. The prior odds between two variants are \(\pi_i/\pi_j=w_i/w_j=\exp(\eta_i-\eta_j)\). In this single-causal model, adding the same constant to every \(\eta_i\) multiplies all weights by the same amount and leaves the normalized priors unchanged. Thus, only relative scores matter.

Worked Example: Normalizing Annotation Weights

Suppose a hypothetical locus has three candidate variants. An annotation scoring scheme assigns weights \(w_1=1\), \(w_2=4\), and \(w_3=2\). Assume exactly one of the three variants is causal, and use these weights as the only basis for the prior.

The total weight is \(1+4+2=7\). Therefore, the prior probabilities are \(\pi_1=1/7\), \(\pi_2=4/7\), and \(\pi_3=2/7\). Numerically, these are approximately 0.1429, 0.5714, and 0.2857, respectively. They sum to \(1\). Before seeing association data, variant 2 receives four times the prior probability of variant 1 because its assigned weight is four times as large.

This calculation does not establish that variant 2 is causal. It records how the chosen annotation model ranks the variants before the association data are used.

Updating Annotation Priors With Bayes Factors

Under the single-causal-variant model, let \(BF_i\) be the Bayes factor for the hypothesis that variant \(i\) is causal, relative to a common reference model. The Bayes factor is the likelihood under that causal hypothesis divided by the likelihood under the reference model. Posterior probabilities are proportional to the product of prior probability and Bayes factor.

$$ P(C=i\mid D,A) = \frac{BF_i\pi_i}{\sum_{j=1}^{m}BF_j\pi_j} = \frac{BF_iw_i}{\sum_{j=1}^{m}BF_jw_j} $$

The second equality follows because the common prior-weight normalization \(\sum_j w_j\) cancels from numerator and denominator. Consequently, the posterior odds for two variants satisfy \(P(C=i\mid D,A)/P(C=j\mid D,A)=(BF_i/BF_j)(\pi_i/\pi_j)\). The association evidence changes the prior odds by the Bayes-factor ratio; neither the prior weights nor the Bayes factors alone are the posterior probabilities.

Key result: In a single-causal-variant model, posterior probability is proportional to prior weight multiplied by Bayes factor. A high annotation weight can increase a variant's posterior probability, but strong association evidence for another variant can outweigh that prior advantage.

Worked Example: Combining Priors and Bayes Factors

Continue with the hypothetical weights \(w_1=1\), \(w_2=4\), and \(w_3=2\). Suppose the association data yield Bayes factors \(BF_1=2\), \(BF_2=8\), and \(BF_3=4\), all relative to the same reference model. Assume the single-causal-variant model and that these Bayes factors were calculated from an appropriate likelihood.

The unnormalized posterior weights are \(BF_1w_1=2\), \(BF_2w_2=32\), and \(BF_3w_3=8\). Their sum is \(42\). Thus, \(P(C=1\mid D,A)=2/42=0.04762\), \(P(C=2\mid D,A)=32/42=0.7619\), and \(P(C=3\mid D,A)=8/42=0.1905\).

The posterior probabilities sum to \(1\), subject to rounding. Variant 2 has the largest posterior probability because it has both the largest prior weight and the largest Bayes factor in this example. The value 0.7619 is a posterior probability conditional on the candidate set, model, data, and prior specification; it is not proof that variant 2 is causal.

Worked Example: Stronger Association Evidence Can Overcome a Prior Advantage

Consider two hypothetical variants under a single-causal-variant model. Let their annotation weights be \(w_1=10\) and \(w_2=1\), so variant 1 has a tenfold prior-weight advantage. Suppose their Bayes factors are \(BF_1=1\) and \(BF_2=20\).

The unnormalized posterior weights are \(10\times1=10\) for variant 1 and \(1\times20=20\) for variant 2. After normalizing by \(10+20=30\), the posterior probabilities are \(10/30=0.3333\) and \(20/30=0.6667\). Variant 2 has twice the posterior probability of variant 1 despite its lower prior weight, because its Bayes factor is twenty times as large.

The posterior odds calculation gives the same result: prior odds for variant 1 versus variant 2 are \(10:1\), while the Bayes-factor ratio in that direction is \(1:20\). Multiplying gives posterior odds \(1:2\). Annotation affects the result, but it does not dictate it.

Annotation Priors for Multiple-Causal Configurations

When a model permits multiple causal variants, the object receiving a prior is a configuration \(C\), a subset of the candidate variants. One way to use annotation weights is to specify the prior conditional on the number of causal variants \(K=|C|\). For a fixed \(K=k\), assign a configuration a weight equal to the product of the weights of its included variants, then normalize across all size-\(k\) configurations. The normalizing constant is the sum of those products, denoted \(e_k(w)\).

$$ P(C\mid K=k,A) = \frac{\prod_{i\in C}w_i}{e_k(w)}, \qquad e_k(w)=\sum_{\substack{S\subseteq\mathcal V\\|S|=k}}\prod_{i\in S}w_i $$

For \(k=0\), the only configuration is the empty set, and its product and normalizing constant are both defined as \(1\). If the model also specifies a prior \(P(K=k)\) on causal count, then \(P(C\mid A)=P(K=|C|)P(C\mid K=|C|,A)\). This construction changes which variants are favored within a given causal count while leaving the specified distribution of causal counts unchanged. Other prior constructions are possible; the chosen one must be stated because different constructions imply different prior probabilities.

Let \(BF(C)\) be the Bayes factor for configuration \(C\) relative to a common reference model. The posterior over configurations is \(P(C\mid D,A)\propto BF(C)P(C\mid A)\), normalized over the configurations allowed by the model. In general, \(BF(C)\) must come from the likelihood for the whole configuration. It should not be assumed to equal the product of single-variant Bayes factors, particularly when variants are correlated.

Worked Example: Annotation Weights for Two-Causal Configurations

Suppose a hypothetical three-variant locus is analyzed conditional on exactly two causal variants. Let the weights be \(w_1=1\), \(w_2=2\), and \(w_3=3\). The possible configurations are \(\{1,2\}\), \(\{1,3\}\), and \(\{2,3\}\). Their unnormalized prior weights are \(1\times2=2\), \(1\times3=3\), and \(2\times3=6\), giving \(e_2(w)=2+3+6=11\).

The configuration priors are therefore \(2/11\), \(3/11\), and \(6/11\), respectively. Suppose the configuration Bayes factors are \(2\), \(1\), and \(5\). The unnormalized posterior weights are \((2/11)\times2=4/11\), \((3/11)\times1=3/11\), and \((6/11)\times5=30/11\). Their sum is \(37/11\), so the posterior probabilities are \(4/37=0.1081\), \(3/37=0.08108\), and \(30/37=0.8108\).

The posterior favors configuration \(\{2,3\}\) in this example because its prior weight and its configuration Bayes factor combine to give the largest product. The calculation is conditional on exactly two causal variants; it does not compare that assumption with other causal counts.

Choosing and Interpreting Annotation Models

Annotation effects should have a defensible interpretation. A coefficient may be estimated from previously characterized variants, chosen from external evidence, or assigned through a prespecified model. Whichever approach is used, the annotation definitions, coefficient values, and normalization scheme affect the posterior and should be reported. If annotation effects are estimated, uncertainty in those estimates may also matter; treating estimated coefficients as fixed can understate uncertainty when the training evidence is limited.

Annotations should be defined consistently for the variants being compared. For example, a regulatory annotation relevant to one tissue may not be informative for a trait acting in another tissue. Missing or uncertain annotations also require an explicit treatment rather than silently being interpreted as evidence of no function. These choices concern the prior model; they do not replace checking that the likelihood and candidate set are appropriate for the fine-mapping analysis.

For a prior to represent information separate from the association likelihood, avoid using the same locus-level association result both to choose annotation weights and then again in the Bayes factor without a model that accounts for that reuse. Otherwise, evidence can be counted twice. External functional evidence can inform prior plausibility, but it still does not establish that a particular variant is the causal one for the trait under study.

Common Mistake: Treating Annotation as Proof

  • Wrong reasoning: “This variant overlaps a functional element, so it must be causal.” An annotation can be imperfect, context-dependent, or shared by many variants.
  • Correction: The annotation changes a prior probability according to the specified model. The posterior also depends on the association likelihood, other candidate variants, and model assumptions.
  • Wrong reasoning: “The variant has the largest prior weight, so it should have the largest posterior probability.”
  • Correction: Posterior comparisons use \(BF_iw_i\), not \(w_i\) alone. A sufficiently larger Bayes factor for another variant can reverse the prior ranking.
  • Wrong reasoning: “A posterior probability of 0.8 means there is an 80% chance the annotation is correct.”
  • Correction: It is the model-based posterior probability of the stated causal hypothesis, conditional on the data, candidate set, likelihood, and prior specification. It is not an accuracy probability for the annotation itself.
Key takeaway: Functional annotations can make fine-mapping priors more informative by assigning different weights to variants or configurations. Posterior probabilities arise only after these priors are combined with association evidence, and neither a functional label nor a high posterior probability alone proves causality.

Check Your Understanding

Answer each question by distinguishing the prior, the likelihood evidence, and the posterior.

  1. Three variants have annotation weights \(1\), \(2\), and \(5\) under a single-causal-variant model. What are their normalized prior probabilities?
  2. If two variants have prior odds of \(3:1\) and Bayes factors of \(2\) and \(12\), respectively, what are their posterior odds in the same order?
  3. Why does multiplying every annotation weight by the same positive constant leave single-causal-variant priors unchanged?
  4. For a fixed causal count of two, how is the prior weight of a configuration formed from variant weights, and why must it be normalized?
  5. Give one reason that a functional annotation should not be interpreted as proof that a variant causes the trait.
Clinical Biostats