Tutorials › Statistical Genetics › Dosage Regression For Copy-Number Association

Structural Variants and Copy Number · Tutorial 482 of 989

Dosage Regression For Copy-Number Association

Fit dosage-based regression models and translate their coefficients into per-copy changes in a quantitative trait or per-copy odds ratios for disease.

Advanced 10 min read

What You'll Learn

  • Define copy-number dosage as a numerical regression predictor and distinguish absolute copy count from a shifted coding.
  • Interpret a linear-regression dosage coefficient in the quantitative trait’s units per additional copy.
  • Interpret a logistic-regression dosage coefficient as a per-copy change in log odds and its exponent as an odds ratio.
  • Identify assumptions needed for coefficient interpretation and conventional regression inference.
  • Work through quantitative-trait and case-control dosage-regression examples.
  • Recognize when an additive per-copy model may not adequately describe copy-number effects.

Why Regress on Copy-Number Dosage?

A copy-number variant can leave an individual with fewer or more copies of a genomic segment than the usual reference state. If the scientific question is whether the trait changes systematically as copy count changes, dosage regression represents copy number numerically and estimates a change per copy. This is a specific modeling choice: it summarizes the association with a single slope rather than estimating a separate effect for every copy-number state.

For example, a locus might have observed copy counts of 1, 2, and 3. A linear dosage model assumes that the expected quantitative trait changes by the same amount from 1 to 2 copies as from 2 to 3 copies, after accounting for included covariates. A logistic dosage model makes the corresponding equal-step assumption on the log-odds scale. The data may or may not support that simple pattern; the coefficient should be interpreted as the effect specified by the model, not as proof that biology follows it exactly.

Definition: Let \(d_i\) denote the copy-number dosage for individual \(i\), coded as the number of copies at the locus, and let \(Y_i\) be that individual’s outcome. In dosage regression, \(d_i\) enters as a numerical predictor. Its regression coefficient describes the modeled change in outcome associated with one additional copy, conditional on the other predictors in the model.

Sometimes dosage is coded as copy count minus a reference count, such as \(d_i=c_i-2\) when two copies are the reference state. This changes the zero point and the intercept, but not the per-copy slope: subtracting the same constant from every predictor value leaves pairwise dosage differences unchanged. The coding direction does matter. A coefficient for copy count describes the change per additional copy; a coefficient for number of copies lost has the opposite direction.

Linear Regression for a Quantitative Trait

For a quantitative outcome, a standard dosage model with covariates is

$$ Y_i=\beta_0+\beta_D d_i+\gamma_1 z_{i1}+\cdots+\gamma_q z_{iq}+\epsilon_i. $$

Here, \(z_{i1},\ldots,z_{iq}\) are included covariates, \(\beta_0\) is the intercept, \(\beta_D\) is the dosage coefficient, and \(\epsilon_i\) is the residual. The conditional mean model is \(E(Y_i\mid d_i,z_{i1},\ldots,z_{iq})=\beta_0+\beta_Dd_i+\sum_{j=1}^{q}\gamma_jz_{ij}\). Thus, holding the included covariates fixed, a one-copy increase corresponds to a modeled change of \(\beta_D\) units in the mean outcome.

Ordinary least squares estimates the coefficients by choosing values that minimize the sum of squared residuals. For the usual coefficient standard errors and tests, observations should be independent, the conditional mean should be correctly specified, and residual variance should be constant across predictor values. Normal residuals are additionally needed for exact small-sample \(t\)-based inference; with larger samples, conventional inference is often justified approximately. In genetic data, relatedness, population structure, and technical differences between batches can violate assumptions or create confounding if not appropriately addressed.

Interpretation: In the linear model, \(\beta_D\) has units of the quantitative trait per copy. For example, if the outcome is a concentration in milligrams per deciliter, a coefficient of \(-0.35\) means the modeled mean concentration is 0.35 mg/dL lower for each additional copy, conditional on the included covariates.

Worked Example: Fitting a Simple Quantitative-Trait Model

Suppose a hypothetical study records copy count and a quantitative trait for nine unrelated participants. The observed values are:

Copy count \(d\)Trait values \(Y\)
18, 9, 10
210, 11, 12
312, 13, 14

Fit a simple linear regression with an intercept and dosage predictor. The means are \(\bar{d}=2\) and \(\bar{Y}=11\). The least-squares slope is the sum of centered cross-products divided by the sum of squared centered dosages:

$$ \hat{\beta}_D= \frac{\sum_i(d_i-\bar{d})(Y_i-\bar{Y})} {\sum_i(d_i-\bar{d})^2} = \frac{12}{6}=2. $$

For the numerator, the three observations at \(d=1\) contribute \(3+2+1=6\); those at \(d=2\) contribute zero; and those at \(d=3\) contribute \(1+2+3=6\). The denominator is \(3(1)+3(0)+3(1)=6\). The intercept is \(\hat{\beta}_0=\bar{Y}-\hat{\beta}_D\bar{d}=11-2(2)=7\). Therefore, the fitted line is \(\hat{Y}=7+2d\).

The fitted mean increases by 2 trait units per additional copy. For instance, the fitted mean is 9 units at one copy and 13 units at three copies, a difference of \(2(3-1)=4\) units. The example’s residuals are \(-1,0,1\) at each dosage, so the fitted line summarizes the group means exactly. Interpreting the slope as an association in a population still requires appropriate sampling and a suitable model; the table alone does not establish a causal effect.

Why the Linear Slope Has a Per-Copy Meaning

The per-copy interpretation follows directly from the model. Consider two individuals with the same covariate values, but dosages \(d\) and \(d+1\). Their fitted conditional means differ by

$$ \left[\beta_0+\beta_D(d+1)+\sum_{j=1}^{q}\gamma_jz_j\right] - \left[\beta_0+\beta_Dd+\sum_{j=1}^{q}\gamma_jz_j\right] =\beta_D. $$

The intercept and covariate terms cancel, leaving \(\beta_D\). More generally, a contrast between dosage values \(d_a\) and \(d_b\) is \(\beta_D(d_b-d_a)\). This is why subtracting a reference copy count from every dosage changes the intercept but not the per-copy effect: \(d_b-d_a\) is unchanged.

In a simple regression with an intercept and no covariates, the slope formula used in the example can also be obtained by minimizing the sum of squared residuals. For \(S(\beta_0,\beta_D)=\sum_i(Y_i-\beta_0-\beta_Dd_i)^2\), setting the derivative with respect to \(\beta_0\) to zero gives \(\hat{\beta}_0=\bar{Y}-\hat{\beta}_D\bar{d}\). Substituting this into the derivative with respect to \(\beta_D\), setting that derivative to zero, and rearranging gives:

$$ \sum_i(d_i-\bar{d})(Y_i-\bar{Y}) = \hat{\beta}_D\sum_i(d_i-\bar{d})^2, \qquad \hat{\beta}_D= \frac{\sum_i(d_i-\bar{d})(Y_i-\bar{Y})} {\sum_i(d_i-\bar{d})^2}. $$

The denominator must be positive: if every participant has the same dosage, there is no dosage variation from which to estimate a slope. With covariates, the fitted coefficient is estimated while accounting for those predictors; the basic interpretation as a conditional per-copy change remains.

Logistic Regression for a Case-Control Outcome

When the outcome is binary, let \(Y_i=1\) indicate a case and \(Y_i=0\) a control. Logistic regression models the conditional probability of being a case, \(P(Y_i=1\mid d_i,z_i)\), using the logit link:

$$ \log\left(\frac{P(Y_i=1\mid d_i,z_i)} {1-P(Y_i=1\mid d_i,z_i)}\right) = \beta_0+\beta_Dd_i+\sum_{j=1}^{q}\gamma_jz_{ij}. $$

The model assumes that the log odds change linearly with dosage, conditional on the covariates, and that observations are independent Bernoulli outcomes given their predictors. The fitted model also requires enough information to estimate its coefficients; for example, perfect separation can prevent ordinary maximum-likelihood estimates from being finite. In a case-control study, sampling depends on case status. Under standard case-control sampling in which selection within case and control groups does not additionally depend on dosage, the logistic slope estimates the disease odds ratio association, while the fitted intercept generally does not estimate disease prevalence in the source population.

Interpretation: In logistic regression, \(\beta_D\) is the change in log odds of the outcome per additional copy, conditional on the covariates. Exponentiating it gives the per-copy odds ratio, \(\exp(\beta_D)\). A two-copy contrast has odds ratio \(\exp(2\beta_D)\) under this model.

Worked Example: Per-Copy Odds Ratio in a Case-Control Study

In a hypothetical case-control study, investigators sample participants at three copy counts. The counts are 10 cases and 40 controls at one copy, 20 cases and 40 controls at two copies, and 40 cases and 40 controls at three copies. Consider a logistic model with dosage as its only predictor.

The case-to-control odds in the sampled data are \(10/40=0.25\), \(20/40=0.50\), and \(40/40=1.00\), respectively. The log odds increase by \(\log(0.50)-\log(0.25)=\log(2)\) from one to two copies, and by \(\log(1.00)-\log(0.50)=\log(2)\) from two to three copies. Thus, the fitted dosage slope is \(\hat{\beta}_D=\log(2)\approx0.6931\), and the per-copy odds ratio is:

$$ \exp(\hat{\beta}_D)=\exp(\log(2))=2. $$

The fitted sample case probabilities are \(0.25/(1+0.25)=0.20\) at one copy, \(0.50/(1+0.50)=0.3333\) at two copies, and \(1/(1+1)=0.50\) at three copies. These probabilities describe case odds in the sampled data under the specified model; in a case-control design they are not estimates of population disease prevalence. Under the sampling condition stated above, the slope corresponds to a twofold increase in disease odds per additional copy. It does not mean that disease probability doubles with each copy, nor does it establish that copy number causes disease.

Coefficient Inference and a Covariate-Adjusted Contrast

Regression software reports an estimated coefficient and its standard error. For a linear model, a common test of no dosage association uses \(H_0:\beta_D=0\) against \(H_a:\beta_D\ne0\), with a test statistic formed as \(\hat{\beta}_D/SE(\hat{\beta}_D)\). Under the usual linear-model assumptions, its reference distribution is a \(t\) distribution with residual degrees of freedom; large-sample approximations are also common. For logistic regression, the same null can be assessed with a Wald statistic or a likelihood-based procedure, using the relevant model-based reference distribution. A small p-value measures how unusual the observed statistic would be under the null and the model assumptions; it is not the probability that the null is true.

Worked Example: Interpreting an Adjusted Quantitative Effect

Suppose a hypothetical covariate-adjusted linear regression for a blood marker measured in mg/dL estimates a dosage coefficient of \(-0.35\) mg/dL per copy, with standard error \(0.12\) mg/dL per copy. The model includes age and sex, and the fitted coefficient compares participants with the same modeled age and sex values.

For a two-copy difference, such as comparing dosages of 2 and 4, the estimated mean difference is \(\hat{\beta}_D(4-2)=(-0.35)(2)=-0.70\) mg/dL. Using a normal-approximation 95% interval for the per-copy coefficient gives \(-0.35\pm1.96(0.12)\), or \([-0.5852,-0.1148]\) mg/dL per copy. Multiplying the endpoints by the two-copy contrast gives \([-1.1704,-0.2296]\) mg/dL for that contrast.

Under the model and its approximation, the interval procedure has 95% long-run coverage for the corresponding parameter. In context, the fitted association is a lower mean marker level at higher copy dosage, conditional on age and sex. The interval does not assign a 95% probability to the fixed parameter being inside this particular realized interval.

Model Checks, Interpretation, and Common Pitfalls

Dosage regression is useful because a single coefficient can summarize an association across copy-number states and make contrasts easy to report. That compact summary relies on a trend assumption. A linear quantitative model imposes equal changes in the expected trait for each additional copy. A logistic model imposes equal changes in log odds, or equivalently a constant per-copy odds ratio. If the effect differs sharply among states, one slope may be misleading. The fitted model should therefore be considered alongside observed state frequencies, outcome patterns, and relevant diagnostics.

The copy-number variable must also be coded and described clearly. If the predictor is absolute copy count, the coefficient is per additional copy. If it is coded as a deviation from two copies, the same slope still describes a one-copy increase, but the intercept now refers to the reference count. If the predictor instead counts copies lost, a positive coefficient means something different. Report both the coding and the unit of the outcome so that the direction and scale of the association are unambiguous.

When dosage values are uncertain and represented by expected copy counts, a regression coefficient describes change per unit of that numerical dosage under the fitted model. Treating an expected dosage as an observed predictor does not automatically account for all genotype uncertainty; the interpretation and uncertainty estimate depend on how that dosage was obtained and modeled. Technical artifacts, population structure, or unmodeled dependence among participants can likewise distort association estimates, so a precise regression coefficient is not by itself evidence of a biological effect.

  • Mistake: interpreting a logistic coefficient as a probability change. A coefficient of \(0.6931\) is not a 69.31 percentage-point increase in disease probability. Its exponent, \(\exp(0.6931)=2\), is the per-copy odds ratio under the model.
  • Mistake: treating the slope as causal. Regression estimates an association conditional on included predictors. Confounding, selection, or technical bias can remain; causal language needs additional design and assumptions.
  • Mistake: assuming dosage coding is irrelevant without checking direction. Shifting the zero point preserves the slope, but reversing the predictor from copy count to copies lost reverses its sign.
  • Mistake: assuming a per-copy slope fits every copy-number pattern. The model enforces a constant increment on its outcome scale. If that constraint is unsuitable, the single coefficient may conceal important differences between states.
Key takeaway: Linear dosage regression estimates a conditional change in quantitative-trait units per additional copy. Logistic dosage regression estimates a conditional change in log odds per copy, whose exponential is a per-copy odds ratio. Both interpretations depend on the model form, dosage coding, data quality, and appropriate handling of study design and covariates.

Check Your Understanding

Try these questions using the model definitions and interpretations above.

  1. A linear model estimates a dosage coefficient of \(1.4\) for a trait measured in mmol/L. State its per-copy interpretation, conditional on the model covariates.
  2. A logistic model estimates \(\hat{\beta}_D=-0.40\). Write the per-copy odds ratio and describe what it means without interpreting it as a probability difference.
  3. Why does coding dosage as copy count minus 2 change the intercept but leave the per-copy slope unchanged?
  4. What equal-step assumption does a quantitative-trait dosage regression make about the expected outcome across successive copy counts?
  5. In a case-control study, why should fitted case probabilities not automatically be reported as population disease prevalence?
Clinical Biostats