Tutorials › Statistical Genetics › Trans-QTL Mapping At Genome Scale

Molecular QTL Mapping · Tutorial 904 of 989

Trans-QTL Mapping At Genome Scale

Build a defensible trans-QTL scan by defining its test universe, calibrating genome-wide evidence, and checking that candidate signals replicate independently.

Advanced 13 min read

What You'll Learn

  • Define the tested variant–trait pairs in a genome-wide trans-QTL scan
  • Model per-allele effects while accounting for relevant covariates and sample structure
  • Set significance thresholds for very large collections of tests
  • Use permutation calibration carefully when tests are correlated
  • Recognize how batch imbalance can create an apparent trans association
  • Evaluate candidate signals using independent replication and supporting evidence

Why Genome-Scale Trans-QTL Scans Need Special Care

A trans-QTL scan tests whether genetic variants are associated with molecular traits outside the specified cis-mapping window. Because the scan crosses many variants with many genes or other molecular traits, its test universe can contain billions of pairs. A small p-value for one pair is therefore not enough: the analysis must account for the full search, and the signal must be credible as a genetic association rather than a consequence of technical or sample structure.

The unit of analysis is a variant–trait pair. For each pair, the model estimates an association between the donor’s genotype at a variant and the donor’s molecular phenotype for a target outside that variant’s cis window. “Trans” describes the mapping relationship; it does not imply a direct biological mechanism, or that the variant acts on the trait through a single pathway.

Definition: A genome-scale trans-QTL scan tests a prespecified collection of variant–molecular-trait pairs for association, where each variant lies outside the cis-mapping window defined for its target trait. The scan’s test universe is the complete set of pairs actually eligible for testing after stated quality-control and mapping rules.

Making the test universe explicit is essential. It specifies which variants and traits were included, how the cis window was defined, and which pairs were excluded. A variant can be trans to one target but cis to another. Also, trans does not necessarily mean “on a different chromosome”: a variant outside the chosen cis window on the same chromosome may be classified as trans.

Modeling Each Variant–Trait Pair

For donor \(i\), variant \(v\), and molecular trait \(t\), let \(G_{iv}\) be genotype dosage, usually coded as 0, 1, or 2 copies of a specified effect allele. Let \(Y_{it}\) be the processed molecular phenotype. A common association model is

$$ Y_{it}=\beta_{0,vt}+\beta_{vt}G_{iv}+\boldsymbol{C}_i^{\mathsf T}\boldsymbol{\gamma}_{vt}+\varepsilon_{ivt}. $$

Here, \(\boldsymbol{C}_i\) contains the covariates included for that scan, such as technical factors and relevant donor characteristics. The coefficient \(\beta_{vt}\) is the expected difference in the modeled phenotype per additional copy of the effect allele, conditional on the included covariates. Its units are the units of \(Y_{it}\) per allele copy. If the phenotype was standardized, the coefficient is in standard-deviation units per allele copy.

For the usual linear-regression test, the model assumes an appropriate linear conditional mean, errors with mean zero conditional on genotype and covariates, and an appropriate variance model. The conventional finite-sample \(t\)-test additionally relies on normally distributed errors with constant variance and independent observations. If donors are related or otherwise have structured dependence, an appropriate mixed model or other dependence-aware method is needed; treating correlated donors as independent can understate uncertainty. The association test for a pair is commonly \(H_0:\beta_{vt}=0\) against a two-sided alternative.

The model is fitted across the eligible pairs. The scan then evaluates the resulting collection of tests, not just the most striking result. Covariate choices and sample exclusions should be set consistently across the scan where possible, and reported clearly. Changing the analysis for a particular pair after seeing its result can undermine the stated error control.

Worked Example: Interpreting One Pair’s Regression Estimate

Suppose a hypothetical scan includes six unrelated donors. For one trans variant–trait pair, the genotypes are \(G=(0,0,1,1,2,2)\), and the processed trait values are \(Y=(4,6,7,7,8,10)\). Assume there are no additional covariates in this illustrative model, and use the ordinary linear-regression assumptions for the calculation.

The sample means are \(\bar{G}=1\) and \(\bar{Y}=7\). The genotype sum of squares is \(S_{GG}=\sum_i(G_i-\bar{G})^2=1+1+0+0+1+1=4\). The cross-product is \(S_{GY}=\sum_i(G_i-\bar{G})(Y_i-\bar{Y})=3+1+0+0+1+3=8\). Thus the estimated per-allele slope is \(\hat{\beta}_{vt}=S_{GY}/S_{GG}=8/4=2\) phenotype units per allele copy. The fitted intercept is \(7-2(1)=5\).

The fitted values are \(5,5,7,7,9,9\), so the residuals are \(-1,1,0,0,-1,1\), and the residual sum of squares is \(4\). With \(6-2=4\) residual degrees of freedom, the residual variance estimate is \(4/4=1\). Therefore, \(SE(\hat{\beta}_{vt})=\sqrt{1/S_{GG}}=\sqrt{1/4}=0.5\), and the test statistic is \(t=2/0.5=4\), with \(df=4\). The two-sided p-value is approximately \(0.0161\).

This is evidence of association for this hypothetical pair under the model, but it is not by itself evidence that the pair passes a genome-wide threshold. The estimate describes an adjusted association in phenotype units per allele copy; it does not establish a causal mechanism.

Controlling the Genome-Wide Testing Burden

If \(M\) pairs are tested, a simple family-wise error control is the Bonferroni procedure: test each pair at level \(\alpha/M\), or compare its p-value with \(\alpha/M\). The family-wise error rate is the probability of at least one false rejection in the specified family of tests. Bonferroni control does not require the tests to be independent, although it can be conservative when tests are strongly correlated.

$$ P(\text{at least one false rejection}) \leq \sum_{j=1}^{M}P(\text{false rejection at test }j) \leq M\frac{\alpha}{M}=\alpha. $$

This inequality is the union bound: the chance of any false rejection cannot exceed the sum of the individual false-rejection probabilities. It justifies the Bonferroni threshold even when variants are in linkage disequilibrium or molecular traits are correlated. It also shows why the family must be defined: \(\alpha/M\) refers to the \(M\) tests in the stated family, not to an arbitrary subset selected after inspecting results.

Worked Example: Calculating a Scan-Wide Bonferroni Threshold

Suppose a hypothetical study tests 1,000,000 variants against 10,000 molecular traits, with every variant–trait pair eligible for the scan. The number of tests is \(M=1{,}000{,}000\times10{,}000=10{,}000{,}000{,}000=10^{10}\). For family-wise \(\alpha=0.05\), the pairwise threshold is \(\alpha/M=0.05/10^{10}=5\times10^{-12}\).

A pair with p-value \(3\times10^{-12}\) passes this threshold; one with p-value \(2\times10^{-11}\) does not. These conclusions concern statistical error control for the defined \(10^{10}\)-test family. They do not imply that a passing signal is technically valid or biologically causal. If quality control removes variants or traits before testing, the actual test count and family must reflect those exclusions.

False discovery rate procedures, such as the Benjamini–Hochberg procedure, answer a different question: they control the expected proportion of false rejections among the rejected tests under their stated conditions. They can be useful when the goal is to prioritize a set of discoveries rather than guarantee a low probability of any false positive. The choice of procedure should match the claim: family-wise control is stricter for declaring individual scan-wide findings, while FDR control is often used for a discovery list. Neither procedure substitutes for replication or technical review.

A permutation-based maximum-statistic procedure offers another way to account for dependence among tests. For each permitted permutation, the entire scan is repeated and the most extreme statistic across all tested pairs is recorded. The observed statistic is compared with this null distribution of scan-wide maxima. The permutation must preserve the null structure and relevant design: simply shuffling phenotypes can be invalid when covariates, relatedness, or other restrictions affect exchangeability. The calibration and its error-control interpretation depend on the permutation scheme; a global-null maximum test should not automatically be described as strong control under every configuration of true and false nulls.

Technical Confounding Can Mimic a Trans Signal

A genome-scale scan can produce a striking association when genotype and a technical or sample variable are imbalanced. For example, suppose processing batch affects measured expression and allele frequencies differ between batches. A pooled analysis can then associate genotype with expression even if there is no within-batch genotype effect. Covariate adjustment helps only when the relevant factor is measured and the design contains enough overlap to separate its effect from genotype.

Other risks include population structure, relatedness, sample swaps, genotype-calling problems, and assay-specific measurement artifacts. A large number of tested pairs makes some extreme statistics likely even under a valid null model; it does not protect against systematic bias. Study design, assay and genotype quality control, and appropriate covariate or dependence modeling therefore remain necessary alongside multiple-testing correction. In bulk-tissue analyses, variation in cellular composition may also matter and should be considered in the study design and model.

Worked Example: A Batch-Imbalanced Association

Consider eight hypothetical donors split between two processing batches. In batch A, genotypes are \(0,0,1,1\) and all four expression values are 10. In batch B, genotypes are \(1,1,2,2\) and all four expression values are 20. Assume for this demonstration that batch is the only systematic expression difference.

Ignoring batch, the genotype mean is \(\bar{G}=1\), and the expression mean is \(\bar{Y}=15\). The cross-product is \(\sum_i(G_i-\bar{G})(Y_i-\bar{Y})=20\): the two genotype-0 observations each contribute \(5\), the genotype-1 observations contribute \(0\), and the two genotype-2 observations each contribute \(5\). The genotype sum of squares is \(\sum_i(G_i-\bar{G})^2=4\). The pooled slope is therefore \(20/4=5\) expression units per allele copy.

Yet within batch A, expression is 10 at both observed genotype values; within batch B, it is 20 at both observed genotype values. There is no within-batch expression difference by genotype in these data. The pooled slope reflects the alignment of batch, genotype, and expression, not a genotype effect. Including batch in the model separates the batch-level expression shift from the genotype comparison in this example. In a real study, if batch and genotype are perfectly confounded, their effects cannot be separated by regression alone; more informative sampling or independent data are needed.

From Statistical Signal to Credible Candidate

A scan-wide p-value identifies a candidate for further evaluation, not a completed biological explanation. A careful assessment asks whether the result is stable under defensible model choices, whether allele and phenotype definitions are consistent, and whether the association is supported by evidence not used to select the candidate. Relevant checks include genotype and molecular-assay quality, the distribution of covariates across genotype groups, and whether the signal is dominated by a small number of donors or one technical stratum.

Independent replication is particularly valuable. The replication sample should be independent of the discovery sample, use a comparable phenotype and assay definition, harmonize the effect allele, and test the same variant–trait association. If the direction was specified in advance, a one-sided replication test can be appropriate; otherwise, a two-sided test is generally required. If many candidate pairs are tested in the replication data, the replication stage has its own multiplicity burden. A smaller replication effect than the discovery estimate is common because selection favors unusually large discovery estimates, but a consistent, adequately precise effect strengthens the evidence.

Worked Example: Evaluating an Independent Replication

Suppose a hypothetical discovery scan has a prespecified Bonferroni threshold of \(5\times10^{-12}\). One candidate trans pair has an estimated effect of \(0.62\) standard deviations per allele copy and \(SE=0.08\). Its statistic is \(z=0.62/0.08=7.75\), giving an approximate two-sided p-value of \(9\times10^{-15}\), below the scan threshold.

In an independent replication sample, the harmonized effect estimate is \(0.31\) standard deviations per allele copy with \(SE=0.09\). If the positive direction was prespecified, the replication statistic is \(z=0.31/0.09=3.44\), with a one-sided p-value of approximately \(0.00029\). A conventional two-sided 95% confidence interval for the replication effect is \(0.31\pm1.96(0.09)=0.31\pm0.1764=[0.134,0.486]\) standard deviations per allele copy.

The independent result is directionally consistent and its interval excludes zero, although its point estimate is smaller than the discovery estimate. This supports replication of the association under the stated analysis; it does not show that the variant directly regulates the target or rule out every shared source of bias. If the replication stage tested several candidates rather than this single prespecified pair, its p-value must also be interpreted in light of that testing plan.

Common Mistakes

  • Using a nominal threshold for a genome-wide claim. A p-value below 0.05 is not automatically compelling when billions of pairs were tested. Apply an error-control procedure to the declared test family.
  • Counting only the variants or only the traits. When all combinations are tested, the burden is based on the variant–trait pairs, not either dimension alone.
  • Treating correlated tests as a reason to ignore multiplicity. Correlation may make Bonferroni conservative, but it does not make unadjusted scan-wide claims valid.
  • Interpreting a small p-value as proof of causation. The test evaluates association under a model; confounding, technical artifacts, or indirect biological pathways remain possible.
  • Calling a batch-driven pattern a genetic effect. Check whether genotype and measurement conditions are imbalanced, and whether the study design allows their effects to be separated.
  • Calling a discovery result “replicated” because it reappears in the same data. Confirmation requires data independent of the observations that selected the candidate.
Key takeaway: A credible genome-scale trans-QTL result requires a defined variant–trait test universe, a model suited to the sample and phenotype, appropriate scan-wide error control, and independent evidence that the association is not an artifact of technical or sample structure.

Check Your Understanding

Answer each question by referring to the test family, model, or evidence described.

  1. A scan tests 500,000 variants against 4,000 traits. How many pairs are tested, and what is the Bonferroni threshold at family-wise \(\alpha=0.05\)?
  2. In a linear model, what does a genotype coefficient of \(-0.20\) mean if the phenotype is standardized and genotype is coded as effect-allele dosage?
  3. Why can a pooled genotype–expression association appear when there is no genotype association within either processing batch?
  4. What feature of a permutation scheme must be considered when covariates or related donors are present?
  5. Why is an independent replication result more informative than a second analysis of the discovery sample?
Clinical Biostats