Tutorials › Statistical Genetics › The Trans-Ancestry Fine-Mapping Setup

Fine-Mapping Across Ancestries · Tutorial 636 of 989

The Trans-Ancestry Fine-Mapping Setup

Learn how to describe, index, and check the cohort-level data required before combining ancestry-specific fine-mapping evidence.

Advanced 10 min read

What You'll Learn

  • Define ancestry-specific association estimates and their standard errors in a common effect-allele and phenotype scale.
  • Distinguish total cohort size from the number of participants contributing at each variant.
  • Interpret allele frequencies and dosage-based LD matrices as cohort-level inputs.
  • Specify a shared variant set and keep variant ordering consistent across inputs.
  • Check when dosage variance can be written as two times the allele frequency times one minus the allele frequency.
  • Recognize why these inputs alone do not establish that an associated variant is causal.

Introduction

Trans-ancestry fine-mapping begins with a set of inputs indexed by both cohort and variant. Each cohort contributes association estimates and their uncertainty, allele frequencies, a sample size, and information about linkage disequilibrium (LD). The variants must also be represented in a shared set so that quantities from different cohorts refer to the same genetic markers.

These inputs describe what was measured in each cohort; they do not by themselves identify a causal variant. Their role is to make the evidence available in a form that a fine-mapping model can use. This setup therefore requires careful attention to units, indexing, and which participants contributed to each estimate. The later task of harmonizing alleles across summary statistics is separate: here, we define the inputs and the consistency they must have.

Definition: Let \(k=1,\ldots,K\) index cohorts and \(j=1,\ldots,M\) index variants in the shared set \(\mathcal{J}\). For cohort \(k\) and variant \(j\), the setup records an association estimate \(\hat{\beta}_{kj}\), its standard error \(SE_{kj}\), and an allele frequency \(f_{kj}\), along with sample-size information for cohort \(k\). It also records an LD matrix \(R_k\) whose rows and columns refer to variants in \(\mathcal{J}\), in a stated common order.

Association Estimates and Their Uncertainty

The estimate \(\hat{\beta}_{kj}\) summarizes the association between the dosage of variant \(j\) and the phenotype in cohort \(k\), under the association model used for that cohort. Dosage is usually the expected number of copies of a specified allele, on a scale from 0 to 2. The coefficient’s meaning depends on the phenotype model and units. For a quantitative phenotype recorded in its original units, a linear-model coefficient is in phenotype units per additional allele copy. For a binary phenotype analyzed by logistic regression, a coefficient is commonly on the log-odds scale per additional copy.

The standard error \(SE_{kj}\) describes the estimated sampling uncertainty of \(\hat{\beta}_{kj}\), on the same coefficient scale. A coefficient and its standard error must be paired: a value of \(0.08\) is not interpretable as an estimate with a given precision until its units, cohort, variant, and standard error are known. Covariate adjustment, phenotype definition, and the participants included in the analysis are also part of the context of the estimate.

For example, if a hypothetical linear-model estimate is \(0.08\) phenotype units per allele copy with \(SE=0.025\) phenotype units per allele copy, the estimate is positive and its reported standard error is \(0.025\) on that same scale. The standard error is not an effect size, and it does not describe variation in individual phenotypes.

Frequencies, Sample Sizes, and LD

The allele frequency \(f_{kj}\) is the frequency, in cohort \(k\), of the allele used to define the dosage at variant \(j\). It helps describe how common that allele is in the analyzed cohort. Frequencies can differ across cohorts. Frequency is not itself an association estimate, and a frequency difference alone does not show that a variant has a different effect on the phenotype.

Sample size should be recorded with enough detail to explain which observations support each estimate. The cohort total \(N_k\) is the number of participants in the association analysis, but the number with usable genotype and phenotype data can differ by variant. When that happens, record a variant-specific count \(N_{kj}\), or otherwise document the applicable analysis count. For binary outcomes, case and control counts may also be needed to understand the study design. A single cohort-wide number should not silently stand in for a smaller variant-specific sample.

The matrix \(R_k\) describes correlations among variant dosages in cohort \(k\). In the usual dosage-correlation representation, \(R_{k,j\ell}\) is the correlation between dosages at variants \(j\) and \(\ell\). The diagonal entries are 1 for variants with nonzero dosage variance; the matrix is symmetric and must be a valid correlation matrix. Its dimensions are \(M\) by \(M\), and its rows and columns must follow the same variant ordering used for the association estimates. An LD matrix is not a list of association effects: it describes relationships among genotypes.

LD should represent the relevant cohort or a suitable ancestry-matched reference for that cohort. An LD matrix from one population is not automatically interchangeable with another cohort’s matrix. At this setup stage, the important bookkeeping point is that each \(R_k\) is labeled by cohort and variant order. How ancestry-specific LD changes association patterns is a distinct question.

Why Dosage Variance Needs an Explicit Assumption

Allele frequency does not, by itself, determine dosage variance. If \(G\) is the dosage of an allele, then its variance is \(\operatorname{Var}(G)\), which depends on the genotype distribution. Under Hardy–Weinberg equilibrium, the two allele copies are independent Bernoulli variables with success probability \(p\), so \(G\) has a binomial distribution with two trials and probability \(p\). Only under that additional assumption does the familiar expression \(2p(1-p)\) follow.

$$ G\sim\operatorname{Binomial}(2,p) \quad\Longrightarrow\quad \operatorname{Var}(G)=2p(1-p). $$

A useful approximation illustrates why the distinction matters. In a simple linear regression with an intercept and centered genotype dosage, if the residual variance is \(\sigma^2\), then conditional on the observed genotypes the coefficient variance is \(\sigma^2/\sum_i(G_i-\bar{G})^2\). If the sample dosage variance is close to its population value, this gives the approximation \(SE(\hat{\beta})\approx \sigma/\sqrt{N\operatorname{Var}(G)}\). This is an approximation under the stated simple-model conditions, not a universal formula for every association analysis.

$$ \operatorname{Var}(\hat{\beta}\mid G) = \frac{\sigma^2}{\sum_{i=1}^{N}(G_i-\bar{G})^2} \approx \frac{\sigma^2}{N\operatorname{Var}(G)} \quad\Longrightarrow\quad SE(\hat{\beta})\approx \frac{\sigma}{\sqrt{N\operatorname{Var}(G)}}. $$

Worked Example: Checking a Dosage-Based Standard Error Approximation

Suppose a hypothetical cohort has \(N=10{,}000\) participants, a quantitative phenotype with residual standard deviation \(\sigma=1\) phenotype unit, and an allele frequency \(p=0.20\). Under Hardy–Weinberg equilibrium, calculate the approximate standard error for a per-copy dosage coefficient using the approximation above.

Under Hardy–Weinberg equilibrium, the dosage variance is \(2p(1-p)=2(0.20)(0.80)=0.32\). Thus

$$ SE(\hat{\beta}) \approx \frac{1}{\sqrt{10{,}000(0.32)}} = \frac{1}{\sqrt{3{,}200}} \approx 0.01768 \text{ phenotype units per allele copy}. $$

This calculation uses the stated residual standard deviation, sample size, and Hardy–Weinberg assumption. Now consider a different hypothetical genotype distribution: \(P(G=0)=0.60\), \(P(G=1)=0.40\), and \(P(G=2)=0\). Its mean dosage is \(E(G)=0.40\), so its allele frequency is \(E(G)/2=0.20\), but its variance is \(0.40-(0.40)^2=0.24\). Using the actual variance gives \(SE\approx 1/\sqrt{10{,}000(0.24)}\approx 0.02041\) phenotype units per allele copy. The two calculations differ despite the same allele frequency; the frequency-only variance formula would be unjustified for this second distribution.

A Shared Variant Set and Consistent Indexing

A shared variant set \(\mathcal{J}\) is the set of markers represented across the cohorts for the analysis. It gives each variant a stable identity and index, such as \(j=1,\ldots,M\), so the association estimates, frequencies, and LD matrices can be matched. The set might be determined by the region being analyzed and the availability of variant data. Its exact definition should be documented rather than inferred from a table’s row order.

For the setup to be coherent, each cohort’s quantities must use the same variant identities and order. If one cohort lacks a variant, that absence is missing information; it is not an association estimate of zero and should not be represented as a zero LD row or column. Similarly, two values in the same row position cannot be treated as the same variant unless the marker identities actually agree. The allele labels and effect directions also need to refer to a common convention before estimates are compared; the specific allele-harmonization operations are a separate topic.

Worked Example: Reading Cohort-Level Summary Inputs

Consider two hypothetical cohorts with the same quantitative phenotype, measured in phenotype units. Each cohort analyzes three variants, \(v_1,v_2,v_3\), in that order. The values below are illustrative cohort-level inputs.

CohortVariant\(N_{kj}\)\(f_{kj}\)\(\hat{\beta}_{kj}\)\(SE_{kj}\)
A\(v_1\)8,0000.200.0800.025
A\(v_2\)8,0000.350.0500.020
A\(v_3\)7,8000.100.0200.030
B\(v_1\)5,0000.450.0700.032
B\(v_2\)4,9500.200.0400.028
B\(v_3\)5,0000.080.0100.041

For cohort A at \(v_1\), the estimate is \(0.080\) phenotype units per allele copy and its standard error is \(0.025\) phenotype units per allele copy. A simple standardized estimate-to-standard-error ratio is \(0.080/0.025=3.20\). This calculation describes the scale of that cohort-specific association result; it does not establish that \(v_1\) is causal.

The table also shows why a cohort-wide sample size can be insufficient: cohort A has 8,000 participants at \(v_1\) and \(v_2\), but 7,800 at \(v_3\). The frequency for \(v_1\) is 0.20 in A and 0.45 in B, which is a cohort-level difference in frequency, not a difference in the coefficient’s units. Before interpreting comparisons of coefficients, the effect allele and phenotype scale must be consistent.

Worked Example: Checking LD Matrix Dimensions and Order

For the same hypothetical three-variant set ordered \(v_1,v_2,v_3\), suppose cohort A supplies

$$ R_A= \begin{pmatrix} 1 & 0.60 & 0.10\\ 0.60 & 1 & 0.25\\ 0.10 & 0.25 & 1 \end{pmatrix}. $$

This matrix is \(3\) by \(3\), symmetric, and has diagonal entries of 1. Its entries say, for example, that the dosage correlation between \(v_1\) and \(v_2\) in cohort A is 0.60. The row and column labels must be \(v_1,v_2,v_3\) in exactly the order used for cohort A’s association table. The matrix is positive definite: its leading principal minors are \(1\), \(1-0.60^2=0.64\), and its determinant is \(1+2(0.60)(0.10)(0.25)-0.60^2-0.10^2-0.25^2=0.5975\), all positive.

Suppose cohort B instead supplies a valid matrix in the order \(v_2,v_1,v_3\). It cannot be paired row-for-row with the table above as if it had the same order. Reordering its rows and columns to \(v_1,v_2,v_3\) is required for matching. This is an indexing check, not a claim that the two cohorts should have the same LD values.

Assembling and Checking the Inputs

A practical setup can be organized as a short sequence of checks. These checks establish that the data components refer to one another; they do not perform fine-mapping or resolve biological interpretation.

1
Declare cohorts and variants.
Give each cohort a stable label and define the shared variant set \(\mathcal{J}\), including its variant identifiers and order.
2
Document association scales.
For each \(\hat{\beta}_{kj}\) and \(SE_{kj}\), state the phenotype model, coefficient units, and allele dosage convention.
3
Record frequencies and counts.
Attach \(f_{kj}\) and the relevant sample size to the cohort and variant. Distinguish total cohort size from per-variant counts when they differ.
4
Validate LD inputs.
Check that each \(R_k\) has the expected dimensions, labels, order, and correlation-matrix structure.
5
Check cross-input correspondence.
Verify that each estimate, frequency, sample count, and matrix row or column is attached to the intended cohort and variant.

Common Mistakes and Why the Setup Matters

  • Using allele frequency as though it completely specifies dosage variance. The claim \( \operatorname{Var}(G)=2p(1-p) \) requires Hardy–Weinberg equilibrium for a diploid biallelic genotype. Without that assumption, use the actual dosage variance when it is needed.
  • Confusing a standard error with a standard deviation of individual outcomes. \(SE_{kj}\) describes uncertainty in an estimated coefficient, not the spread of phenotypes among participants.
  • Using one sample size for every variant without checking missingness. Variant-specific counts can differ, so record them when appropriate rather than assuming all variants have identical analysis samples.
  • Treating LD as an association effect. An LD entry is a dosage correlation, whereas \(\hat{\beta}_{kj}\) is an association estimate for a phenotype.
  • Assuming matching row positions guarantee matching variants. Variant identity and order must be checked explicitly; absent information is not a zero-valued result.
  • Calling an associated variant causal from these inputs alone. Association evidence and LD structure inform fine-mapping, but an association estimate is not proof of causality.

Careful setup matters because errors in units, sample counts, or indexing can make otherwise valid calculations answer the wrong question. In particular, a matrix paired with the wrong variant order no longer describes the intended set of associations. Recording the inputs transparently makes later modeling assumptions inspectable and helps distinguish genuine cohort differences from differences in how the data were represented.

Key takeaway: A trans-ancestry fine-mapping setup is indexed by cohort and variant: pair every association estimate with its standard error, frequency, applicable sample size, and cohort-specific LD information, all mapped to a clearly defined shared variant set. Treat dosage variance as a separate quantity unless the assumptions that determine it are stated.

Check Your Understanding

Use these questions to check whether the cohort-level inputs are clearly defined.

  1. What units should be reported for an association estimate and its standard error, and why must they agree?
  2. Why might \(N_k\) differ from \(N_{kj}\), and which count is most directly relevant to a variant-specific estimate?
  3. Under what assumption does a diploid dosage with allele frequency \(p\) have variance \(2p(1-p)\)?
  4. A cohort’s LD matrix is labeled in the order \(v_2,v_1,v_3\), while its summary statistics are ordered \(v_1,v_2,v_3\). What must be checked before pairing them?
  5. What does an LD matrix entry describe, and how is that different from an association estimate?
Clinical Biostats