Tutorials › Physiologically-Based Pharmacokinetics (PBPK) › Calculating Pharmacogenetic Phenotype Frequencies

Genetic Polymorphisms and Virtual Populations · Tutorial 643 of 799

Calculating Pharmacogenetic Phenotype Frequencies

Learn to classify diplotypes by metabolizer phenotype, aggregate their frequencies, and identify when Hardy–Weinberg predictions are not appropriate.

Advanced 10 min read

What You'll Learn

  • Convert allele frequencies into diplotype frequencies under Hardy–Weinberg equilibrium.
  • Sum diplotype frequencies to obtain metabolizer-phenotype proportions.
  • Apply explicit CYP2C19 genotype-to-phenotype rules.
  • Use CYP2D6 activity scores and phenotype thresholds in a simplified diploid example.
  • Distinguish predictions from allele frequencies from direct aggregation of observed diplotype frequencies.
  • Recognize assumptions and data features that can make a frequency calculation misleading.

From Genetic Frequencies to Phenotype Frequencies

A PBPK cohort may need a specified proportion of poor, intermediate, normal, rapid, or ultrarapid metabolizers. Allele frequencies alone do not give those proportions directly: they first imply diplotype frequencies under a stated pairing model, and each diplotype must then be assigned a phenotype using explicit gene-specific rules. The calculation is therefore a two-stage translation, not a relabeling of allele frequencies.

The earlier material on Hardy–Weinberg equilibrium gives the standard random-pairing model for predicting genotype frequencies from allele frequencies. Here, the key additional operation is grouping diplotypes by phenotype. If diplotype frequencies have been measured directly, they can instead be grouped without assuming Hardy–Weinberg equilibrium.

Definition: Let \(f_i\) be the frequency of allele or haplotype \(i\), with \(\sum_i f_i=1\). Let \(F_{ij}\) be the frequency of diplotype \(i/j\), and let \(F_m\) be the frequency of phenotype \(m\). A genotype-to-phenotype rule assigns each diplotype to a phenotype category. The phenotype frequency is the sum of the frequencies of all diplotypes assigned to that category.

In a diploid locus under Hardy–Weinberg equilibrium, the two alleles are paired at random from the same allele-frequency distribution. Thus a homozygous diplotype \(i/i\) has predicted frequency \(f_i^2\), while a heterozygous diplotype \(i/j\), for \(i\ne j\), has predicted frequency \(2f_if_j\). The factor of 2 accounts for the two possible allele orders, \(i\) from one parent and \(j\) from the other, or vice versa.

$$ F_{ij} = \begin{cases} f_i^2, & i=j,\\ 2f_if_j, & i\ne j, \end{cases} \qquad F_m=\sum_{i\leq j:\,g(i/j)=m}F_{ij}. $$

Here \(g(i/j)\) denotes the specified rule that maps diplotype \(i/j\) to phenotype \(m\). The order restriction \(i\leq j\) means that each unordered diplotype is counted once. If all possible diplotypes are included, their predicted frequencies sum to one because \((\sum_i f_i)^2=1\).

Make the Genotype-to-Phenotype Rules Explicit

Phenotype categories are interpretations of genetic function, not direct measurements of drug exposure. The rules depend on the gene and the functional classification of its alleles. For a calculation to be reproducible, state both the allele function assumptions and the rule used to classify each diplotype.

For the simplified CYP2C19 examples below, *1 is treated as normal function, *2 as no function, and *17 as increased function. The following commonly used assignments are assumed: *1/*1 is normal; *1/*2 and *2/*17 are intermediate; *2/*2 is poor; *1/*17 is rapid; and *17/*17 is ultrarapid. The *2/*17 assignment reflects the convention that a no-function allele paired with *17 is classified as intermediate in this simplified rule set; it should not be inferred by adding allele labels or treating increased function as a universal offset.

For CYP2D6, a common approach assigns an activity value to each allele, sums the two values to obtain an activity score, and applies phenotype thresholds. In the simplified examples here, *1 has value 1, *10 has value 0.25, and *4 has value 0. The assumed categories are poor metabolizer (score 0), intermediate metabolizer (score greater than 0 and less than 1.25), normal metabolizer (score from 1.25 through 2.25), and ultrarapid metabolizer (score greater than 2.25). This example does not include copy-number variation, hybrid alleles, or other CYP2D6 complexities.

Worked Example: Predicting CYP2C19 Phenotypes From Allele Frequencies

Suppose a hypothetical population has CYP2C19 allele frequencies \(f_{*1}=0.70\), \(f_{*2}=0.20\), and \(f_{*17}=0.10\). Assume diploidy, random pairing of alleles, and Hardy–Weinberg equilibrium. Apply the CYP2C19 assignments stated above.

First calculate each diplotype frequency. The homozygote frequencies are \(0.70^2=0.4900\) for *1/*1, \(0.20^2=0.0400\) for *2/*2, and \(0.10^2=0.0100\) for *17/*17. The heterozygote frequencies are:

$$ \begin{aligned} F_{*1/*2}&=2(0.70)(0.20)=0.2800,\\ F_{*1/*17}&=2(0.70)(0.10)=0.1400,\\ F_{*2/*17}&=2(0.20)(0.10)=0.0400. \end{aligned} $$

Now assign each diplotype. *1/*1 contributes 0.4900 to normal, *1/*2 and *2/*17 contribute \(0.2800+0.0400=0.3200\) to intermediate, *2/*2 contributes 0.0400 to poor, *1/*17 contributes 0.1400 to rapid, and *17/*17 contributes 0.0100 to ultrarapid.

The predicted phenotype proportions are therefore 49.00% normal, 32.00% intermediate, 4.000% poor, 14.00% rapid, and 1.000% ultrarapid. They sum to 100.0%, a useful arithmetic check. These are predictions conditional on the allele frequencies, pairing assumption, and stated classification rules—not measured phenotype frequencies from an observed cohort.

Using CYP2D6 Activity Scores

For an activity-score method, the phenotype mapping happens after diplotype frequencies are calculated. Each diplotype receives the sum of its two allele activity values; the score is then placed in the stated phenotype interval. This order prevents an easy but consequential error: categorizing individual alleles as phenotypes before combining the two alleles.

Worked Example: CYP2D6 Phenotypes With Three Allele Types

Consider a hypothetical CYP2D6 population with frequencies \(f_{*1}=0.65\), \(f_{*10}=0.25\), and \(f_{*4}=0.10\). Assume a diploid locus, Hardy–Weinberg equilibrium, and the activity values and thresholds stated above. No duplicated or deleted gene copies are present in this simplified example.

The six diplotype frequencies are:

$$ \begin{aligned} F_{*1/*1}&=(0.65)^2=0.4225, & F_{*1/*10}&=2(0.65)(0.25)=0.3250,\\ F_{*1/*4}&=2(0.65)(0.10)=0.1300, & F_{*10/*10}&=(0.25)^2=0.06250,\\ F_{*10/*4}&=2(0.25)(0.10)=0.05000, & F_{*4/*4}&=(0.10)^2=0.01000. \end{aligned} $$

The corresponding activity scores are 2 for *1/*1, 1.25 for *1/*10, 1 for *1/*4, 0.50 for *10/*10, 0.25 for *10/*4, and 0 for *4/*4. Under the selected thresholds, *1/*1 and *1/*10 are normal metabolizers, so the normal proportion is \(0.4225+0.3250=0.7475\), or 74.75%. The three diplotypes with scores 1, 0.50, and 0.25 are intermediate, giving \(0.1300+0.06250+0.05000=0.2425\), or 24.25%. The score-zero diplotype is poor, giving 1.000%. There are no ultrarapid metabolizers under this allele set and these assumptions.

The boundary matters: the score 1.25 for *1/*10 falls in the normal category under the specified rule. A different guideline or functional-value assignment could move diplotypes between categories, so report the rule alongside the result.

Direct Diplotype Frequencies and a Short Justification

If representative diplotype frequencies are available, direct aggregation is often preferable to reconstructing diplotypes from allele frequencies. This approach retains the observed pairing pattern, including departures from random pairing. It still requires correct diplotype identification and a declared genotype-to-phenotype mapping.

Worked Example: Aggregating Observed CYP2C19 Diplotypes

A hypothetical sample of 1,000 individuals has the following observed CYP2C19 diplotype counts: *1/*1, 480; *1/*2, 220; *2/*2, 40; *1/*17, 150; *2/*17, 60; and *17/*17, 50. Assume the simplified CYP2C19 phenotype rules above.

Divide each count by 1,000 to obtain diplotype frequencies. The normal proportion is \(480/1000=0.4800\). The intermediate proportion combines *1/*2 and *2/*17: \((220+60)/1000=0.2800\). The poor proportion is \(40/1000=0.04000\), the rapid proportion is \(150/1000=0.1500\), and the ultrarapid proportion is \(50/1000=0.05000\). The five proportions sum to 1.000.

These frequencies are calculated from observed diplotypes; no Hardy–Weinberg calculation is needed. The result describes this hypothetical sample under the specified phenotype mapping. Using the sample proportions to represent a target population additionally requires that the sample be suitable for that target.

The aggregation step follows directly from the law of total probability. The diplotype categories are mutually exclusive and, if exhaustive, partition the population. For a phenotype \(m\), the event “phenotype \(m\)” is the union of the diplotype events assigned to \(m\). Since those events are disjoint, the probability of their union is the sum of their probabilities:

$$ P(M=m)=\sum_{i\leq j:\,g(i/j)=m}P(G_{ij}) =\sum_{i\leq j:\,g(i/j)=m}F_{ij}. $$

This also explains why omitted diplotypes create a problem: the sum is a population phenotype proportion only when the diplotype set is sufficiently complete, or when omitted cases are explicitly handled.

Assumptions, Diagnostics, and Alternatives

Before using allele frequencies to predict phenotype proportions, check the conditions behind the calculation. The allele categories must be mutually exclusive and collectively cover the relevant alleles; their frequencies must sum to one. The Hardy–Weinberg prediction assumes random pairing for the population being represented and a diploid locus with the modeled allele system. The phenotype map must be specified for every diplotype that can occur. If haplotypes or linked variants affect the functional interpretation, they must be represented at the haplotype or diplotype level rather than collapsed into an inadequate single-variant allele list.

A practical diagnostic is to calculate all diplotype frequencies before grouping them. Confirm that none are negative, that every possible diplotype has a stated assignment, and that the diplotype frequencies sum to one. Then check that phenotype frequencies also sum to one. If they do not, look for an omitted diplotype, double counting of heterozygotes, inconsistent allele frequencies, or an unclassified phenotype. For observed counts, the denominator should be the number of individuals with interpretable diplotypes; if some are missing, report that denominator and do not silently treat missing cases as a phenotype.

Available informationApproachMain condition or limitation
Allele frequencies onlyPredict diplotypes under Hardy–Weinberg equilibrium, then group by phenotypeRelies on random pairing and a complete allele model
Observed diplotype frequenciesGroup the observed frequencies directly by phenotypeRepresentativeness and reliable diplotype calls are still needed
Haplotype frequencies with known pairing structureUse the specified diplotype distribution, then apply phenotype rulesDo not assume independent pairing if the data or design specify otherwise

These methods answer related but different questions. Hardy–Weinberg calculations provide a prediction from allele frequencies under an explicit pairing assumption. Direct diplotype aggregation describes the diplotype distribution that was observed. If the observed distribution departs from Hardy–Weinberg expectations, that difference is not repaired by substituting predicted frequencies for the observed ones; first determine which distribution is relevant to the intended cohort.

Common Pitfalls and Limits

  • Using allele frequencies as phenotype frequencies. An allele frequency is not the proportion of people with that allele, and neither is generally the proportion with a phenotype. Form diplotypes and apply the mapping first.
  • Forgetting the heterozygote factor of 2. Under random pairing, \(i/j\) has frequency \(2f_if_j\), not \(f_if_j\), when \(i\ne j\).
  • Applying a rule without stating it. Phenotype categories depend on allele-function assignments and thresholds. A reported proportion is not reproducible unless these are clear.
  • Treating CYP2D6 as an uncomplicated two-copy locus in every dataset. Copy-number variation and complex alleles can alter both diplotype representation and activity score. Use suitable copy-number-aware diplotypes or observed phenotype-relevant genotypes rather than forcing such data into a three-allele diploid calculation.
  • Equating genetic phenotype proportions with drug response proportions. These calculations assign genotype-based metabolizer categories. They do not account for environmental effects, interacting medicines, disease, or other causes of altered enzyme activity.

The main limitation is that the result is only as reliable as its allele-frequency source, pairing model, and genotype-to-phenotype classification. It is a useful way to create or describe genetic strata, but it does not by itself establish how much exposure differs between strata or how a dose should change.

Check Your Understanding

Try each problem, then compare your reasoning with the solutions.

  1. A hypothetical diploid locus has two alleles with frequencies 0.80 and 0.20. Under Hardy–Weinberg equilibrium, what are the two homozygote frequencies and the heterozygote frequency?
  2. For the CYP2C19 rules in this tutorial, which phenotype categories receive *1/*17, *2/*17, and *17/*17?
  3. In a hypothetical CYP2D6 population, 6% of diplotypes have activity score 0. Under the thresholds used here, what is their phenotype category and contribution to the poor-metabolizer proportion?
  4. Why might directly observed diplotype frequencies be preferable to Hardy–Weinberg predictions when the diplotype data are available?

Solutions. (1) The homozygotes have frequencies \(0.80^2=0.6400\) and \(0.20^2=0.04000\); the heterozygote has frequency \(2(0.80)(0.20)=0.3200\). They sum to 1.000. (2) *1/*17 is rapid, *2/*17 is intermediate, and *17/*17 is ultrarapid under the stated simplified mapping. (3) A score of 0 is poor metabolizer, so these diplotypes contribute 6.000 percentage points to the poor-metabolizer proportion. (4) Direct frequencies preserve the pairing pattern actually observed and do not require random pairing; they still need reliable diplotype calls and a sample relevant to the intended population.