Why One Matrix Can Show Two Kinds of Similarity
A genomic relationship matrix summarizes genetic similarity among the sampled individuals. Its entries can reflect close-family relationships, but they can also reflect broad differences in allele frequencies between ancestry groups. These signals may coexist: two people can be similar because they share recent ancestors, because their ancestry is similar, or for both reasons.
This matters when interpreting the matrix’s eigenvectors. An eigenvector is a direction of variation among the sampled individuals, not a label that inherently means “ancestry” or “family.” A broad ancestry difference can produce a direction with scores spread across many individuals. Close relatives can instead contribute a more localized pattern, concentrated in a small subset. Which pattern appears first depends on its strength in the particular sample.
This definition assumes that the included variants have usable allele-frequency estimates, that the scaling denominator is nonzero, and that individuals and variants are consistently ordered in \(Z\). The precise scaling and frequency reference affect the entries and eigenvalues. The earlier material on allele-frequency choices and robust relatedness estimation is relevant here: \(G\) is an estimate built under a chosen centering and scaling convention, not a reference-free measurement of biological relatedness.
By the spectral theorem, a symmetric \(G\) has orthonormal eigenvectors \(u_r\) and real eigenvalues \(\lambda_r\). For this Gram matrix, \(\lambda_r\geq 0\). An eigenvector gives a pattern of relative scores across individuals; its eigenvalue measures the amount of matrix variation along that direction. The eigenvectors are conventionally ordered from largest to smallest eigenvalue. Their signs are arbitrary: \(u_r\) and \(-u_r\) describe the same direction.
How Ancestry and Family Covariance Enter
Consider a simplified decomposition of a standardized genotype column. Each person’s value can be written as a group-level mean plus an individual deviation from that mean. Across variants, the group means reflect systematic allele-frequency differences among ancestry groups. Deviations can include family sharing, other individual-level variation, and sampling noise.
For a precise version, suppose individuals are assigned to ancestry groups for the purpose of describing the data. Write \(Z=M+R\), where each row of \(M\) contains that individual’s group mean at each variant and \(R\) contains deviations from those means. Within every group, the deviations sum to zero at each variant. Consequently, \(M^\mathsf{T}R=0\), and
The first term is a group-mean component: individuals in groups with similar mean genotype profiles tend to have similar rows of \(M\). The second term contains variation within groups. If close relatives occur within a group, their shared genotypes can contribute strong, localized covariance to this residual component. This is a useful conceptual decomposition, not a guarantee that ancestry and family effects can always be separated exactly: family members may span groups, groups may be uncertain, and the chosen allele-frequency reference affects both terms.
The key algebra is that the cross-products vanish under the stated group-centering condition. Expanding gives \(ZZ^\mathsf{T}=MM^\mathsf{T}+MR^\mathsf{T}+RM^\mathsf{T}+RR^\mathsf{T}\). Since \(M^\mathsf{T}R=0\), both cross terms are zero, leaving the two components above. Without that condition, the cross terms need not vanish, so this exact split should not be assumed for arbitrary definitions of “ancestry mean” and “residual.”
Worked Example: Group Differences Create Broad Similarity
Suppose a hypothetical standardized variant has mean \(+0.6\) in ancestry group A and mean \(-0.6\) in group B. Assume, for illustration, that residual deviations are independent across unrelated individuals and have mean zero. What expected cross-products does this group difference contribute?
For two unrelated people in group A, the product of their group means is \((+0.6)(+0.6)=0.36\). For two unrelated people in group B, it is \((-0.6)(-0.6)=0.36\). For one person in each group, it is \((+0.6)(-0.6)=-0.36\). These are contributions to the expected standardized cross-product at this variant; averaging across many variants gives an analogous contribution to \(G\).
Now suppose two relatives in group A have residual covariance \(0.25\) at this variant. Their expected cross-product is \(0.36+0.25=0.61\): the broad group component and their family component both contribute. This calculation is illustrative, not an estimate of a particular pedigree coefficient. It shows why a high matrix entry cannot, by itself, be attributed solely to recent relatedness.
Reading Eigenvectors as Patterns Across Individuals
An eigenvector identifies a pattern that explains a large part of the matrix’s variation. If many individuals in one ancestry group have scores of one sign and many in another group have scores of the opposite sign, the pattern may reflect broad ancestry structure. If only a few individuals have substantial scores, especially when they are relatives, the pattern may be family-localized. The interpretation depends on checking the people’s positions and relationships, not on the eigenvector’s rank alone.
For an individual-level coordinate plot, one common convention uses \(\sqrt{\lambda_r}u_r\) as the coordinate on eigenvector \(r\). Other software may report a rescaled version. The relative pattern is the important point here; comparisons of numerical coordinates require knowing the software’s scaling convention. A large eigenvalue says that a direction is prominent in this sample, not that it has a particular biological cause.
Worked Example: A Broad Direction and a Localized Direction
Consider six hypothetical individuals: three in group A and three in group B. Define the unit-length ancestry pattern \(u=(1,1,1,-1,-1,-1)^\mathsf{T}/\sqrt{6}\), and the unit-length within-group pattern \(v=(1,1,-2,0,0,0)^\mathsf{T}/\sqrt{6}\). The first pattern contrasts the two groups. The second is concentrated in group A, with the first two individuals moving together relative to the third.
Their inner product is \(u^\mathsf{T}v=(1+1-2)/6=0\), and each has squared length \(6/6=1\). Suppose a hypothetical matrix has the component form \(G=3uu^\mathsf{T}+vv^\mathsf{T}\). Then
Thus \(u\) is an eigenvector with eigenvalue 3, and \(v\) is an eigenvector with eigenvalue 1. The remaining four mutually orthogonal directions have eigenvalue 0 in this simplified rank-two example. The two nonzero eigenvalues sum to 4, so this matrix’s first direction accounts for \(3/4=75\%\) of its total eigenvalue sum, and the second accounts for \(1/4=25\%\).
Here the leading direction is broad because its scores contrast all three group-A individuals against all three group-B individuals. The second is localized to group A. If the first two people are close relatives, their shared pattern could contribute to that localized component, but the vector alone does not establish their relationship. The data and other relationship information are needed to interpret it.
Worked Example: A Family Direction Can Be the Leading Direction
Keep the same orthogonal unit vectors, but suppose the hypothetical matrix is \(G=2uu^\mathsf{T}+5vv^\mathsf{T}\). Applying the matrix gives \(Gu=2u\) and \(Gv=5v\), because \(u^\mathsf{T}v=0\) and both vectors have unit length. The leading eigenvalue is therefore 5, with eigenvector \(v\), while the broad group-contrast direction has eigenvalue 2.
The largest direction is now localized within group A, despite the presence of broad ancestry structure. Its eigenvalue share is \(5/(5+2)=5/7\), or about 71.4% of the nonzero eigenvalue sum. This does not mean family relationships are always stronger than ancestry in genomic data. It demonstrates that “first eigenvector” is a ranking by variation in this sample, not a fixed biological label.
Practical Interpretation, Diagnostics, and Alternatives
Interpretation should be tied to the sample and the construction of \(G\). Linkage disequilibrium pruning, genotype scaling, allele-frequency estimates, and sample composition can change which directions are prominent. A few groups with strong frequency differences can produce a broad leading direction; a set of close relatives can contribute a concentrated one. An eigenvector may also combine these patterns rather than represent either cleanly.
Useful checks include comparing eigenvector scores with known or independently assessed ancestry information, checking whether large absolute scores are concentrated among a few individuals, and examining whether those individuals are close relatives. Also inspect whether the broad pattern is supported across many variants rather than driven by a small subset. These checks help distinguish plausible structure from artifacts, but they do not convert an eigenvector into proof of ancestry or kinship.
The genotype-based PCA approach and the GRM eigenvector approach are closely connected: when \(G=ZZ^\mathsf{T}/m\), they describe the same sample-side directions, subject to coordinate scaling. A direct pairwise relatedness analysis instead focuses on particular entries or pairs and can be more targeted for identifying close relationships. Pedigree kinship uses recorded family relationships and a model of inheritance rather than estimating similarity from the observed genotype matrix. These approaches answer related, but not identical, questions.
The main limitation is that eigenvectors summarize variation, not its cause. A strong ancestry component and a strong family component can overlap, while a weak component may be hard to interpret in a small or unbalanced sample. Estimates can also be affected by the frequency reference and the variants included. Therefore, report what the pattern looks like—broad across groups, or concentrated among a few individuals—and state the evidence used for its interpretation.
Common Mistake
Check Your Understanding
Answer each question, then compare your reasoning with the solutions below.
- If group means at a standardized variant are \(+0.4\) and \(-0.4\), what group-mean cross-product is contributed for a pair from the same group, and for a pair from different groups?
- In the matrix \(G=3uu^\mathsf{T}+vv^\mathsf{T}\), where \(u\) and \(v\) are orthogonal unit vectors, state the eigenvalue associated with each vector.
- Why does a leading eigenvector with scores concentrated in two people not automatically prove that those people are close relatives?
- What does it mean if the first eigenvector explains 60% of the eigenvalue sum? What does it not establish?
Solutions. (1) Same group: \((0.4)(0.4)=0.16\) or \((-0.4)(-0.4)=0.16\). Different groups: \((0.4)(-0.4)=-0.16\). These are group-mean contributions, not necessarily the full cross-products. (2) Since \(u^\mathsf{T}u=v^\mathsf{T}v=1\) and \(u^\mathsf{T}v=0\), \(Gu=3u\) and \(Gv=v\); the eigenvalues are 3 and 1. (3) A localized pattern can have several causes, and the matrix summarizes genetic variation rather than proving a pedigree relationship. Relationship information and other checks are needed. (4) In that sample, 60% of the total eigenvalue sum lies along the first direction. This does not identify the direction’s biological cause or show that it represents ancestry.