Tutorials › Statistical Genetics › Dominant and Recessive Genetic Contrasts

Single-Variant Association Tests · Tutorial 303 of 989

Dominant and Recessive Genetic Contrasts

Build dominant and recessive genotype contrasts, interpret their effects in trait units, and see when their grouping assumptions can improve or reduce precision.

Intermediate 10 min read

What You'll Learn

  • Code a dominant or recessive contrast for genotypes with zero, one, or two effect alleles
  • Interpret each fitted effect as a difference between specified genotype groups
  • Calculate group-mean contrasts from genotype-specific sample sizes and means
  • Explain the equality constraint each inheritance model imposes
  • Compare precision with an unrestricted genotypic model
  • Recognize why rare homozygotes and a misspecified grouping can mislead

Why Group Genotypes?

For a biallelic variant, let \(G\) count copies of a designated effect allele: \(G=0\), \(G=1\), or \(G=2\). A genotypic model can estimate a separate mean trait value for each of these three groups. A dominant or recessive contrast instead combines two groups by imposing that their mean trait values are equal. This can make the model simpler and can improve precision when that equality is a reasonable approximation. It can also hide a real difference when the grouping assumption is wrong.

The labels dominant and recessive describe the genotype-mean pattern being modeled for the designated allele. They do not, by themselves, establish a biological mechanism. Always state which allele is counted and which genotype groups are being compared.

Definition: Write \(\mu_g=E(Y\mid G=g)\) for the mean quantitative trait value among individuals with genotype \(g\). A dominant contrast compares the mean for \(G=1\) or \(G=2\) with the mean for \(G=0\), imposing \(\mu_1=\mu_2\). A recessive contrast compares the mean for \(G=2\) with the mean for \(G=0\) or \(G=1\), imposing \(\mu_0=\mu_1\). The contrasts are defined relative to the allele counted in \(G\).

Model Codings and Fitted Effects

For the dominant model, define \(D=I(G\geq 1)\), which is 1 for either carrier genotype and 0 for \(G=0\). A two-group mean model is

$$ E(Y\mid G)=\beta_0+\beta_D D. $$

Here \(\beta_0\) is the mean for \(G=0\), while \(\beta_D\) is the difference between the pooled carrier mean and the \(G=0\) mean. The model predicts the same mean, \(\beta_0+\beta_D\), for \(G=1\) and \(G=2\).

For the recessive model, define \(R=I(G=2)\). Then

$$ E(Y\mid G)=\beta_0+\beta_R R. $$

Now \(\beta_0\) is the pooled mean for \(G=0\) and \(G=1\), and \(\beta_R\) is the difference between the \(G=2\) mean and that pooled mean. The model predicts a shared mean for \(G=0\) and \(G=1\).

These are different one-parameter contrasts, not interchangeable names for a general association. A positive coefficient means the group coded 1 has a higher mean trait value than the reference group; a negative coefficient means it has a lower mean. The coefficient is expressed in the trait's units. For example, if \(Y\) is measured in millimeters of mercury, the coefficient is a difference in millimeters of mercury.

Worked Example: Calculating a Dominant Contrast

Suppose a hypothetical sample has genotype-specific summaries for a quantitative trait measured in units \(U\). There are 40 individuals with \(G=0\), mean 10 \(U\); 60 with \(G=1\), mean 12 \(U\); and 30 with \(G=2\), mean 13 \(U\). Calculate the fitted dominant-model effect.

The dominant model pools the 60 individuals with \(G=1\) and the 30 with \(G=2\). Their pooled mean is the sample-size-weighted average:

$$ \bar{Y}_{G\geq 1} =\frac{60(12)+30(13)}{60+30} =\frac{720+390}{90} =12.33\ U. $$

The \(G=0\) mean is 10 \(U\). Therefore the estimated dominant contrast is

$$ \hat{\beta}_D=12.33-10=2.33\ U. $$

Under this model, carriers have a fitted mean 2.33 \(U\) higher than noncarriers. The fit assigns both carrier genotypes the same predicted mean, 12.33 \(U\); it does not claim that their observed sample means were identical.

Worked Example: Calculating a Recessive Contrast

Use the same hypothetical genotype summaries: \(n_0=40\), \(\bar{Y}_0=10\ U\); \(n_1=60\), \(\bar{Y}_1=12\ U\); and \(n_2=30\), \(\bar{Y}_2=13\ U\). Calculate the fitted recessive-model effect.

The recessive model pools \(G=0\) and \(G=1\). The pooled reference mean is

$$ \bar{Y}_{G\leq 1} =\frac{40(10)+60(12)}{40+60} =\frac{400+720}{100} =11.20\ U. $$

The \(G=2\) mean is 13 \(U\), so the recessive contrast is

$$ \hat{\beta}_R=13-11.20=1.80\ U. $$

The fitted mean for the two-copy group is 1.80 \(U\) higher than the pooled mean for the zero- and one-copy groups. This is a different comparison from the dominant contrast, even though it uses the same individuals and trait.

Connection to the Unrestricted Genotypic Model

An unrestricted genotypic model allows all three genotype means to differ. One convenient coding uses \(G=0\) as the reference and two indicators, \(I(G=1)\) and \(I(G=2)\):

$$ E(Y\mid G)=\beta_0+\beta_1 I(G=1)+\beta_2 I(G=2). $$

In this coding, \(\beta_1=\mu_1-\mu_0\) and \(\beta_2=\mu_2-\mu_0\). The dominant model is the restriction \(\beta_1=\beta_2\); the recessive model is the restriction \(\beta_1=0\). Thus, each contrast replaces the unrestricted model's three potentially distinct means with two fitted means. The restriction saves one parameter, but it is an assumption about the pattern of means.

Key distinction: The unrestricted genotypic model estimates separate means for \(G=0,1,2\). A dominant model constrains the \(G=1\) and \(G=2\) means to be equal; a recessive model constrains the \(G=0\) and \(G=1\) means to be equal. Neither constraint follows automatically from observing a genetic variant.

The pooling calculation follows directly from least squares. If a set of genotypes is constrained to share a fitted mean \(m\), the sum of squared deviations for those observations is minimized by their combined sample mean. To see this, let the observed trait values in the pooled set be \(y_1,\ldots,y_N\). The derivative of the sum of squared deviations with respect to \(m\) is

$$ \frac{d}{dm}\sum_{i=1}^{N}(y_i-m)^2 =-2\sum_{i=1}^{N}(y_i-m). $$

Setting the derivative to zero gives \(Nm=\sum_i y_i\), hence \(m=\bar{y}\). If the observations are summarized by genotype-specific sample sizes and means, this combined mean is the weighted average of those means. This explains why the two carrier groups in the dominant model are pooled by sample size, rather than by taking an unweighted average of their two means.

Assumptions and Precision

For the simple group-mean calculations and standard errors below, suppose observations are independent, the conditional mean follows the chosen genotype model, and the residual variance is common across genotype groups. Write that common variance as \(\sigma^2\). Normal residuals are additionally required for exact small-sample \(t\)-based inference; they are not needed just to define or calculate the group-mean contrasts. In an association analysis, covariates or relatedness may require a more appropriate fitted model, but the meaning of a dominant or recessive contrast remains the stated comparison of fitted means.

Under these assumptions, the variance of a sample mean from a group of size \(n_g\) is \(\sigma^2/n_g\). For two disjoint groups with sizes \(n_A\) and \(n_B\), the variance of their difference is the sum of those variances:

$$ \operatorname{Var}(\bar{Y}_A-\bar{Y}_B) =\sigma^2\left(\frac{1}{n_A}+\frac{1}{n_B}\right), \qquad SE(\bar{Y}_A-\bar{Y}_B) =\sigma\sqrt{\frac{1}{n_A}+\frac{1}{n_B}}. $$

A dominant contrast uses the combined carrier count for one group and the \(G=0\) count for the other. A recessive contrast uses the \(G=2\) count and the combined \(G=0,1\) count. Pooling can increase the size of a comparison group and reduce its contribution to the standard error. But it does not guarantee a more precise or more useful estimate of every possible genotype difference: it estimates a different, restricted contrast.

Worked Example: Comparing Precision With an Unrestricted Contrast

Consider a second hypothetical data set with \(n_0=80\), \(n_1=40\), and \(n_2=20\), and genotype means 5, 6, and 9 \(U\), respectively. Suppose the common residual standard deviation is estimated as 4 \(U\), and use it for this illustrative standard-error calculation.

For the dominant model, the carrier mean is

$$ \bar{Y}_{G\geq 1} =\frac{40(6)+20(9)}{60} =\frac{420}{60} =7\ U. $$

The dominant effect is \(7-5=2\ U\). Its estimated standard error is

$$ SE_D=4\sqrt{\frac{1}{80}+\frac{1}{60}} =4\sqrt{0.02917} \approx 0.683\ U. $$

For comparison, the unrestricted contrast between \(G=1\) and \(G=0\) is \(6-5=1\ U\), with estimated standard error

$$ SE_{1-0}=4\sqrt{\frac{1}{40}+\frac{1}{80}} =4\sqrt{0.03750} \approx 0.775\ U. $$

The dominant contrast has a smaller standard error here, but it estimates the pooled carrier difference, not the \(G=1\) versus \(G=0\) difference. The unrestricted model also estimates the \(G=2\) versus \(G=0\) contrast, whose estimate is \(9-5=4\ U\) and whose standard error is

$$ SE_{2-0}=4\sqrt{\frac{1}{20}+\frac{1}{80}} =4\sqrt{0.06250} =1.00\ U. $$

The dominant fit's smaller standard error is not evidence that its equality constraint is correct. In these summaries, the observed means for \(G=1\) and \(G=2\) differ by 3 \(U\), so treating them as equal may poorly represent the pattern. Precision must be considered together with the model's assumption and the question being asked.

Choosing and Reporting a Contrast

A dominant or recessive model can be useful when the corresponding grouping is scientifically motivated or when it was specified in advance. It reduces the number of genotype-specific means that must be estimated. This may be valuable when one genotype group is small, especially when the contrast pools that group with a biologically and statistically defensible comparison group.

The same grouping can be a liability. If the two genotypes forced to share a mean truly differ, pooling can obscure that difference and produce a misleading summary. A recessive contrast can be particularly imprecise when \(G=2\) is rare, because its effect is estimated from that small group. A dominant contrast may have more carriers, but it cannot reveal a difference between one and two effect-allele copies. Genotype counts, the allele being counted, and the contrast should therefore be reported clearly.

A concise interpretation names both groups and the outcome units. For example: “Under the dominant model, carriers of at least one copy of the designated allele had an estimated mean trait value 2.33 \(U\) higher than individuals with no copies.” This reports an association under a specified model; it does not establish that the allele caused the trait difference.

Common Mistake

A common error is to calculate the dominant pooled mean as the unweighted average of the \(G=1\) and \(G=2\) sample means, even when the genotype groups have different sizes. In the first example, that incorrect calculation would be \((12+13)/2=12.5\ U\). It gives each genotype mean equal weight, not each individual. The correct carrier mean is \(\{60(12)+30(13)\}/90=12.33\ U\), because there are twice as many \(G=1\) observations as \(G=2\) observations.

Another error is to interpret a dominant coefficient as the effect of each additional allele copy. It is a carrier-versus-noncarrier difference under a model that assigns the same fitted mean to one-copy and two-copy genotypes. An additive per-allele slope is a different contrast.

Key takeaway: A dominant contrast pools \(G=1\) with \(G=2\); a recessive contrast pools \(G=0\) with \(G=1\). Each estimates a trait-mean difference under an equality constraint. Compare that constraint with the scientific question and genotype counts before interpreting the fitted effect or its precision.

Check Your Understanding

Use the genotype coding \(G=0,1,2\), where \(G\) counts copies of the designated effect allele.

  1. Which genotype means are constrained to be equal in a dominant model, and what is its reference group?
  2. For a recessive contrast, which genotypes are pooled to form the reference mean?
  3. Why should a pooled genotype mean be weighted by genotype sample sizes rather than calculated as the simple average of genotype-specific means?
  4. If the \(G=2\) group is small, which feature of the recessive contrast may limit its precision?
  5. Suppose a dominant-model coefficient is 1.5 kilograms. State its interpretation without implying causation or a per-allele effect.
Clinical Biostats