Population Genetics Practical 11: Genotype frequencies, assumptions and evidence
Learning objectives
Calculate multi-allelic genotype probabilities; combine loci under an independence assumption; distinguish a fixed-profile match probability from agreement between two random profiles; examine population structure; and interpret a likelihood ratio under explicit source hypotheses.
Every frequency and profile below is hypothetical. We assume autosomal diploid loci, a complete single-source profile, correct allele calls, random union within the declared population and an unrelated alternative contributor. These calculations illustrate population-genetics reasoning rather than an operational forensic analysis.
1. Describe a multi-allelic profile
An STR allele label identifies a marker state; it is not a count of B alleles. A diploid genotype contains two labels at each locus. Our three teaching loci each have three possible alleles. The same label at different loci has no implication of shared ancestry.
Treat the supplied frequencies as known parameters for this exercise. Reference databases in applications estimate them; finite sample size, sampling design and rare alleles introduce further uncertainty.
2. Calculate genotype probabilities
Under random union, a homozygote \(a/a\) has probability \(p_a^2\). A heterozygote \(a/b\) has probability \(2p_ap_b\): either parental ordering produces the same unordered genotype.
a b probability
1 10 10 0.25
4 10 11 0.30
5 11 11 0.09
7 10 12 0.20
8 11 12 0.12
9 12 12 0.04
Question. Why is the heterozygote probability doubled, while the homozygote probability is not?
Suggested answer
For distinct alleles there are two ordered draws, a then b and b then a. For identical alleles there is only the a then a event. Counting it twice would make the genotype distribution sum to more than one.
3. Combine independent loci for a fixed profile
If genotypes at the loci are independent in the declared population, the probability that one unrelated random individual has this specified profile is
barplot(-log10(probabilities),names.arg=names(probabilities),ylab="Contribution to -log10(profile probability)",col="#1b9e77")
The toy profile probability is 0.00288, about one in 347 under these assumptions. This deliberately short teaching panel does not illustrate the discriminatory power of a real marker panel. Multiplying probabilities requires independence; counting an identical duplicate marker twice would square a probability without adding information.
For many loci, summing log probabilities avoids numerical underflow: \(\log r=\sum_\ell\log P(G_\ell=g_\ell)\).
If two people are drawn independently from the same genotype distribution, their probability of matching at a locus is \(\sum_g P(g)^2\). Across independent loci, multiply these sums.
The first calculation conditions on the supplied profile. The second averages over every possible first profile, including common ones. They need not coincide.
4. Population structure changes the product calculation
Imagine two hypothetical subpopulations, equally represented in a sampling population. Individuals belong to one subpopulation at all three loci. Genotypes are independent across loci within each subpopulation.
The mixture calculation first computes the complete profile probability within each population, then averages. Pooled allele frequencies assume random union across the mixture. Even using correct marginal genotype probabilities and multiplying them omits the common population membership across loci. Unlinked loci can therefore be statistically dependent in a pooled population.
This example exposes an assumption rather than prescribing a correction for casework. It also does not supply the conditional distribution for a relative of the reference individual.
5. Specify hypotheses before interpreting evidence
Condition on the reference individual’s known profile \(g\). Define two source hypotheses:
\(H_S\): the reference individual supplied the single-source sample.
\(H_U\): an unrelated random individual from the declared population supplied it.
Let \(E\) be observing a complete matching profile. In the idealized error-free model, \(P(E\mid H_S,g)=1\) and \(P(E\mid H_U,g)=r\). Consequently,
The reciprocal relationship holds for these particular hypotheses and observation assumptions. A related alternative contributor, uncertain calls or a mixture requires a different probability model. NIST’s DNA-mixture explainer describes why mixtures and low-level samples involve additional interpretation.
A likelihood ratio compares probabilities of evidence under hypotheses. It is not a probability that a source hypothesis is true. To illustrate the algebra, supply hypothetical prior source probabilities and apply Bayes’ rule:
The same LR gives different posteriors for different priors. These invented priors are not assigned to an actual person. Source attribution also does not specify how, when or why DNA arrived, or establish guilt. For the statistical distinctions, see the National Research Council’s Statistical Issues chapter.
6. Searching many unrelated profiles
For a fixed target profile and \(N\) independent unrelated draws with match probability \(r\), the expected number of matches is \(Nr\). The probability of at least one is
\[1-(1-r)^N.\]
Show R code
N <-c(1,100,1000)data.frame(draws=N,expected_matches=N*rmp,probability_at_least_one=-expm1(N*log1p(-rmp)))
This sampling exercise assumes independent draws from the specified population. It is not a database-search likelihood ratio or a posterior about someone selected by a search; those questions must include the selection procedure and hypotheses.
Exercises
Replace L2’s genotype with 8/9 and recompute the fixed-profile probability.
Explain why multiplying probabilities for a marker and its identical duplicate is incorrect.
Explain why the pooled-frequency calculation and the mixture calculation differ.
Under which assumptions is the LR exactly the reciprocal of the match probability?
The new probability is 0.01152. A duplicate marker is perfectly dependent on the first. Mixture membership is shared across loci, and pooling alleles also changes the random-union model. The reciprocal LR requires a matching, complete, correctly called single-source profile, a known reference profile, certainty of a match under the same-source hypothesis and the stated unrelated-random-source alternative.
Package connections
These base R calculations illustrate probability models relevant to gpop. They do not assume an exported forensic API or introduce a forensic inference responsibility into gsim or gsel. Further teaching extensions could examine reference-sample uncertainty or an explicitly modelled related alternative; each requires declaring the sampling and conditioning assumptions first.