Tutorials › Statistical Methods for Single-Cell RNA Sequencing › Interpreting Pseudobulk Log-Fold Changes

Differential Expression With Pseudobulk and Mixed Models · Tutorial 487 of 700

Interpreting Pseudobulk Log-Fold Changes

Translate pseudobulk log-fold changes and their confidence intervals into expression ratios, and assess statistical evidence separately from biological relevance.

Advanced 10 min read

What You'll Learn

  • Interpret natural-log and base-two fold changes as ratios of modeled expression.
  • Convert point estimates and confidence intervals between log scales and ratio scales.
  • Explain what a confidence interval says about the size and direction of a contrast.
  • Distinguish statistical evidence from a prespecified threshold for biological relevance.
  • Diagnose common interpretation errors involving signs, scales, and uncertainty.

What a Pseudobulk Log-Fold Change Measures

A pseudobulk log-fold change summarizes a modeled difference in expression between conditions for a specified gene and cell type. Its sign gives the direction of the contrast, while its magnitude is measured on a logarithmic scale. To interpret that magnitude in biological terms, it is often useful to convert it to an expression ratio. The conversion is simple, but it depends on which logarithm the model or software reports.

The interpretation also depends on the contrast: which condition is in the numerator, which is in the denominator, and what quantities are being compared. A positive estimate does not inherently mean “increased in treatment”; that conclusion follows only if treatment is the numerator in the defined contrast. In this tutorial, “expression” refers to the modeled mean pseudobulk expression for the specified gene and cell type, after accounting for the model’s library-size offset and any covariates included in the design. It is not a fold change in the number of cells.

Definition: Let \(\mu_A\) and \(\mu_B\) denote the modeled mean expression for a gene in conditions \(A\) and \(B\), on the scale defined by the pseudobulk model after accounting for its offset. The natural-log fold change for the contrast \(A-B\) is \(\theta=\log(\mu_A)-\log(\mu_B)=\log(\mu_A/\mu_B)\). The base-two log-fold change is \(\theta_2=\log_2(\mu_A/\mu_B)\). The expression ratio is \(\mu_A/\mu_B\).

For a negative-binomial generalized linear model with a log link, the fitted linear predictor includes the log-library-size offset and the design terms. A contrast of model coefficients gives the estimated log ratio for the specified comparison; the offset is not itself part of the condition effect. Earlier material on contrasts and log-fold changes establishes how that contrast is formed. Here the focus is how to interpret the resulting estimate and uncertainty.

$$ \theta=\log(\mu_A/\mu_B) \qquad\Longleftrightarrow\qquad \frac{\mu_A}{\mu_B}=\exp(\theta) $$

On the base-two scale, the corresponding conversion is \(\mu_A/\mu_B=2^{\theta_2}\). A natural-log estimate and a base-two estimate describe the same ratio when \(\theta_2=\theta/\log(2)\), where \(\log(2)\approx0.693147\). Zero on either log scale corresponds to a ratio of 1, or no difference in modeled means. A positive value corresponds to a ratio greater than 1; a negative value corresponds to a ratio between 0 and 1.

Converting Estimates and Confidence Intervals

An estimated log-fold change is commonly reported with a confidence interval. For example, a Wald interval for a contrast estimate \(\hat{\theta}\) with standard error \(SE\) is \(\hat{\theta}\pm z_{0.975}SE\) for an approximate 95% interval, where \(z_{0.975}\approx1.96\). This approximation relies on the estimate being approximately normally distributed with the stated standard error. In a pseudobulk analysis, the model and its uncertainty estimates must also be appropriate for the biological samples and design.

Because the exponential function is increasing, exponentiating both endpoints of a natural-log confidence interval gives a confidence interval for the expression ratio. Dividing the estimate and both endpoints by \(\log(2)\) instead expresses them on the base-two scale. The endpoints should be transformed individually; the interval is generally not symmetric after conversion to the ratio scale.

$$ [L,U]\text{ for }\theta \quad\longrightarrow\quad [\exp(L),\exp(U)]\text{ for }\mu_A/\mu_B $$

A confidence interval is a range of parameter values compatible with the data and the model at the stated confidence level. In repeated use of the procedure under its assumptions, 95% of intervals constructed this way would cover the fixed parameter. It is not correct to say that there is a 95% probability that the fixed parameter lies inside this particular interval.

Worked Example: Converting a Natural-Log Estimate to a Ratio

Suppose a hypothetical pseudobulk model estimates the natural-log contrast \(A-B\) for one gene as \(\hat{\theta}=0.6931\), with \(SE=0.2400\). Assume the model-based Wald approximation is suitable. The approximate 95% confidence interval is:

$$ 0.6931\pm1.96(0.2400) =0.6931\pm0.4704 =(0.2227,1.1635). $$

The estimate corresponds to an expression ratio of \(\exp(0.6931)\approx2.000\). Thus, the modeled mean expression in \(A\) is estimated to be about twice that in \(B\), for this gene and cell type under the specified model.

Exponentiating the confidence limits gives \((\exp(0.2227),\exp(1.1635))\approx(1.2494,3.201)\). The interval is therefore consistent with a modeled mean in \(A\) about 1.25 to 3.20 times that in \(B\). It excludes 1, corresponding to zero log-fold change.

On the base-two scale, divide the estimate and endpoints by \(\log(2)\):

$$ \hat{\theta}_2=\frac{0.6931}{0.693147}\approx0.9999,\qquad \left(\frac{0.2227}{0.693147},\frac{1.1635}{0.693147}\right) \approx(0.3213,1.6786). $$

The same result can therefore be stated as an estimated log2 fold change of about 1.00, with a 95% interval of about 0.3213 to 1.6786. These are two scale descriptions of one contrast, not different analyses.

Worked Example: Interpreting a Negative Base-Two Estimate

For a second hypothetical gene, suppose the base-two contrast is \(\hat{\theta}_2=-0.750\), with a 95% confidence interval \((-1.10,-0.400)\). Assume the contrast is \(A-B\), and that the interval is valid for this model and design.

Convert the point estimate to a ratio: \(2^{-0.750}\approx0.5946\). The modeled mean expression in \(A\) is estimated at about 0.595 times the mean in \(B\). Equivalently, it is estimated to be \(1-0.5946=0.4054\), or about 40.5%, lower in \(A\) than in \(B\).

Transform both interval endpoints to ratios: \(2^{-1.10}\approx0.4665\) and \(2^{-0.400}\approx0.7579\). The ratio interval is approximately \((0.4665,0.7579)\). In this hypothetical example, the data and model are compatible with expression in \(A\) being about 0.467 to 0.758 times that in \(B\). Since the entire interval is below 1, it indicates a negative contrast at the 95% confidence level. It does not mean that every individual sample has lower expression in \(A\).

Statistical Evidence and Biological Relevance

Statistical significance concerns evidence against a specified null hypothesis, commonly \(H_0:\theta=0\) for a gene-level contrast. A confidence interval that excludes zero provides corresponding evidence at the two-sided 5% level when it is a 95% interval from the same inferential procedure. In a genome-wide analysis, the reported significance decision should also respect the multiple-testing procedure used across genes, such as an adjusted p-value threshold. A small adjusted p-value is evidence against the null under the assumptions; it does not measure the size or importance of the effect.

Biological significance asks a different question: is the estimated change large enough to matter for the scientific or clinical context? A relevant threshold should be selected for the question at hand, rather than inferred from whether a p-value crosses a conventional cutoff. For example, a team might decide in advance that changes smaller than a 1.5-fold increase are not large enough to merit follow-up. On the log2 scale, a 1.5-fold increase is \(\log_2(1.5)\approx0.585\). The appropriate threshold depends on the gene, cell type, measurement context, and intended use; there is no universal cutoff.

Worked Example: A Statistically Supported but Small Change

Suppose a hypothetical gene has a pseudobulk log2 fold-change estimate of \(0.34\), a 95% confidence interval of \((0.14,0.54)\), and an adjusted p-value of \(0.01\) across the tested genes. Assume the testing and interval procedure are valid and that the stated multiplicity adjustment is appropriate.

The estimated expression ratio is \(2^{0.34}\approx1.266\), or about a 26.6% higher modeled mean in the numerator condition. Transforming the confidence limits gives \(2^{0.14}\approx1.102\) and \(2^{0.54}\approx1.454\). The ratio interval is approximately \((1.102,1.454)\), which excludes 1. The adjusted p-value is below \(0.05\), so this example provides statistical evidence of a nonzero change under the stated analysis.

Now suppose the prespecified biological threshold is a 1.5-fold increase. Its log2 value is \(\log_2(1.5)\approx0.585\). The estimated log2 change, \(0.34\), is below this threshold, and the interval’s upper limit, \(0.54\), is also below it. Thus, although the change is statistically supported, the interval does not support an increase as large as the chosen 1.5-fold threshold at this confidence level. This conclusion is specific to that threshold and interval; it does not establish that the gene is biologically unimportant in every context.

Justification for Transforming the Interval

The ratio interpretation of a log-scale interval follows directly from monotonicity. If a confidence procedure yields \(L\leq\theta\leq U\), then applying the increasing function \(\exp(\cdot)\) preserves the order: \(\exp(L)\leq\exp(\theta)\leq\exp(U)\). Since \(\exp(\theta)=\mu_A/\mu_B\), the transformed endpoints bound the ratio. The interval’s coverage is unchanged by this one-to-one transformation: whenever the original interval covers \(\theta\), the transformed interval covers \(\exp(\theta)\).

The transformed interval is usually asymmetric around the transformed estimate because exponential transformation does not preserve equal distances. For instance, the estimate \(\hat{\theta}=0.6931\) above is centered in its natural-log interval, but its ratio estimate of about 2.00 is not the arithmetic midpoint of the ratio limits 1.2494 and 3.201. This is expected and is not a calculation error.

Diagnostics, Alternatives, and Common Pitfalls

Before interpreting a reported value, check the direction of the contrast, the log base, and the exact quantity being modeled. Then check that uncertainty is reported on the same scale as the estimate or is transformed correctly. Inspect the estimated standard error and confidence interval for implausible precision or instability, and review whether the model’s assumptions and design support the contrast. In particular, the biological samples—not the number of cells within a sample—provide the replication for donor-level inference. A very large cell count does not by itself make a biological contrast precise.

Natural-log and base-two log-fold changes are alternatives for expressing the same ratio. Natural logs arise directly from the usual log link, while log2 values are often intuitive because a one-unit increase represents a doubling. Reporting ratios instead avoids the logarithmic scale, but ratio confidence intervals are asymmetric and ratios can be less convenient for comparing effects across genes. A p-value or adjusted p-value answers a question about evidence against a null; an interval communicates a range of effect sizes compatible with the data and model. Neither replaces the other, and neither alone defines biological relevance.

  • Reversing the contrast: If the order changes from \(A-B\) to \(B-A\), the log-fold change changes sign and the ratio becomes its reciprocal. Always name the numerator and denominator.
  • Mixing scales: A natural-log estimate is converted with \(\exp(\cdot)\), whereas a base-two estimate is converted with \(2^{(\cdot)}\). Applying the wrong transformation produces an incorrect ratio.
  • Calling a fold change a percentage: A ratio of 1.3 means 30% higher in the numerator condition; a ratio of 0.7 means 30% lower. The percentage change is \((\text{ratio}-1)\times100\%\), with the reference condition stated.
  • Equating a small p-value with importance: A small p-value does not show that the effect exceeds a meaningful threshold. Consider the estimated magnitude and interval against a scientifically justified threshold.
  • Reading an interval as a probability statement about the parameter: A 95% confidence interval does not assign a 95% probability to the fixed parameter being inside it. Its coverage interpretation concerns repeated use of the procedure.

A further limitation is that a pseudobulk log-fold change is a model-based comparison of aggregated, normalized expression for the specified cell type and samples. It does not describe the distribution of expression across individual cells, establish a mechanism, or by itself imply a causal effect. Interpretation is conditional on the estimand, model, design, and biological replication used for the analysis.

Key takeaway: First state the contrast and its log base. Convert a natural-log estimate with \(\exp(\cdot)\) and a base-two estimate with \(2^{(\cdot)}\); transform confidence limits in the same way. Then assess statistical evidence and biological relevance as distinct questions.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. A natural-log contrast for \(A-B\) is \(-0.4055\). What is the approximate ratio \(\mu_A/\mu_B\), and how should its direction be described?
  2. A log2 fold-change estimate is \(0.50\), with a 95% interval \((0.10,0.90)\). Does the interval exclude no change? Give the ratio interval approximately.
  3. Why does reversing the contrast from \(A-B\) to \(B-A\) change both the sign and the ratio interpretation?
  4. A gene has an adjusted p-value of \(0.002\), but its estimated log2 fold change is \(0.08\). What can and cannot be concluded from these values alone?

Solutions. (1) \(\exp(-0.4055)\approx0.6667\), so the modeled mean in \(A\) is about two-thirds that in \(B\), or about 33.3% lower. (2) Yes: the interval is entirely above zero. Its ratio interval is \((2^{0.10},2^{0.90})\approx(1.072,1.866)\). (3) The reversed contrast is \(\log(\mu_B/\mu_A)=-\log(\mu_A/\mu_B)\); exponentiating it gives \(\mu_B/\mu_A\), the reciprocal ratio. (4) The adjusted p-value indicates statistical evidence against a zero-effect null under the analysis assumptions and multiplicity procedure. The estimate is a small positive log2 change, corresponding to \(2^{0.08}\approx1.057\), about a 5.7% increase. Without an interval, a relevant biological threshold, and context, the values alone do not establish precision or biological importance.

Clinical Biostats