Tutorials › Multi-Omics Data Integration › How Duplicated Blocks Distort Joint PCA

Multiple Factor Analysis and Joint PCA · Tutorial 178 of 597

How Duplicated Blocks Distort Joint PCA

See algebraically why repeated blocks count repeatedly in concatenated PCA, and learn to diagnose when a leading component reflects redundancy rather than independent cross-omics agreement.

Advanced 12 min read

What You'll Learn

  • Express concatenated PCA through the sum of each block’s sample-space cross-product matrices.
  • Calculate how exact block duplication changes eigenvalues and the leading component.
  • Quantify the effect of near-duplicate blocks on PCA directions.
  • Distinguish repeated measurements from independent cross-omics support.
  • Diagnose duplication and compare practical responses, including MFA and explicit block weighting.

Why Repeated Blocks Matter

Concatenated PCA treats every column as part of one feature matrix. This is consequential when columns—or whole omics blocks—are duplicated or nearly duplicated: repeated measurements contribute repeatedly to the PCA objective. A leading component can then appear to summarize a consensus across blocks even when that apparent agreement is largely the same signal counted more than once.

The key issue is not simply that a block has many columns. It is that PCA weights the total variation represented by all included columns. A second copy of a block adds its variation again, even though it adds no independent information. The algebra below makes this explicit and helps distinguish a genuine cross-block pattern from one amplified by redundancy.

Concatenated PCA and the Duplication Identity

Suppose \(B\) omics blocks measure the same \(n\) individuals. Let \(X_b\) be the \(n \times p_b\) matrix for block \(b\), with columns centered across individuals and any feature scaling specified before analysis. Assume individuals are aligned in the same row order, and that the columns are finite. The concatenated matrix is \(X=[X_1\ \cdots\ X_B]\). PCA of the centered concatenated matrix finds unit-length sample score directions \(t\) that maximize the variance of \(X^\mathsf{T}t\).

Definition: The sample-space cross-product matrix for block \(b\) is \(G_b=X_bX_b^\mathsf{T}\). For any unit vector \(t\) of length \(n\), its variance objective in concatenated PCA is \(t^\mathsf{T}XX^\mathsf{T}t=\sum_{b=1}^{B}t^\mathsf{T}G_bt\). The leading score direction is a unit eigenvector of \(XX^\mathsf{T}=\sum_bG_b\) associated with its largest eigenvalue.

This formulation does not require the blocks to have the same number of features. It shows that each block enters through its cross-product matrix, which summarizes how its features jointly vary across the \(n\) individuals. If block \(X_r\) is copied exactly \(k\) times in the concatenation, the resulting cross-product matrix is

$$ XX^\mathsf{T}=\sum_{b\ne r}G_b+kG_r. $$

Thus the repeated block receives \(k\) times its original contribution to the objective. This is not a p-value or a claim about independent evidence; it is a direct consequence of the PCA optimization criterion.

Deriving the Effect on the Leading Axis

PCA selects the direction with the largest total projected sum of squares. If different blocks favor different directions, increasing the weight on one block can change which direction wins. The following two-direction argument shows the change without relying on a particular algorithm.

1
Represent the competing directions.
Let \(u\) and \(v\) be orthogonal unit directions in sample space. Suppose the other blocks together contribute \(a uu^\mathsf{T}\), and the block of interest contributes \(c vv^\mathsf{T}\), with \(a,c>0\).
2
Compare the objective values.
With \(k\) exact copies of the block of interest, the total matrix is \(a uu^\mathsf{T}+kc vv^\mathsf{T}\). Along \(u\), the objective is \(a\); along \(v\), it is \(kc\). Because these directions are orthogonal eigenvectors, the leading direction is \(u\) when \(a>kc\), \(v\) when \(kc>a\), and non-unique between their span when \(a=kc\).
3
Interpret the switch.
The observed axis can switch even though no individual’s measurements changed: only the number of times the block is included changed. When the top eigenvalue is tied or nearly tied, even a small extra contribution can substantially alter the reported leading direction.

In more general data, the blocks need not have orthogonal leading directions. Then the summed cross-product matrix can have eigenvectors that mix directions from several blocks. Duplication still adds the same matrix again, but the resulting rotation depends on the full eigenstructure rather than a simple comparison of two numbers.

Worked Example: Exact Duplication Switches the Leading Direction

Consider hypothetical centered feature vectors for three individuals. Define two orthogonal unit vectors \(u=(1,-1,0)^\mathsf{T}/\sqrt{2}\) and \(v=(1,1,-2)^\mathsf{T}/\sqrt{6}\). A block \(A\) contains two features, each equal to \(u\), while block \(B\) contains one feature equal to \(v\). These columns are centered, and their Euclidean norms are one. The cross-product matrices are \(G_A=2uu^\mathsf{T}\) and \(G_B=vv^\mathsf{T}\).

With one copy of each block, the total matrix is \(2uu^\mathsf{T}+vv^\mathsf{T}\). Its eigenvalue along \(u\) is 2, since \((2uu^\mathsf{T}+vv^\mathsf{T})u=2u\), and its eigenvalue along \(v\) is 1. The leading score direction is therefore \(u\).

Now concatenate two extra exact copies of block \(B\), giving three copies of \(B\) in total. The matrix becomes \(2uu^\mathsf{T}+3vv^\mathsf{T}\). Its eigenvalues along \(u\) and \(v\) are respectively 2 and 3, so the leading direction is now \(v\). The arithmetic matches the feature counts: \(A\) contributes \(2\) unit-norm columns along \(u\), while the three copies of \(B\) contribute \(3\) along \(v\).

Nothing in the individuals’ measurements changed. The axis changed because \(B\)'s pattern was counted three times. If those copies were described as three independent omics blocks, a reader might mistake repeated representation for three-way corroboration; the calculation shows that it is only one pattern with repeated weight.

Near-Duplicates and Axis Stability

Exact equality is not necessary for distortion. For a precise illustration, let \(u,v\) be orthogonal unit centered score patterns. Suppose two one-feature blocks have unit-length columns \(u\) and \(w=\cos(\theta)u+\sin(\theta)v\), where \(0<\theta<90^\circ\). The second block is close to the first when \(\theta\) is small. Their combined cross-product matrix, expressed in the \(u,v\) basis, is

$$ uu^\mathsf{T}+ww^\mathsf{T} = \begin{pmatrix} 1+\cos^2(\theta) & \cos(\theta)\sin(\theta)\\ \cos(\theta)\sin(\theta) & \sin^2(\theta) \end{pmatrix}. $$

Its eigenvalues are \(1+\cos(\theta)\) and \(1-\cos(\theta)\). The leading direction is halfway between \(u\) and \(w\), at angle \(\theta/2\) from \(u\). Consequently, two highly similar blocks produce a strong leading axis close to their shared pattern, even though the alignment is not independent confirmation.

Worked Example: Two Nearly Identical Blocks

Use the unit centered patterns \(u\) and \(w=\cos(10^\circ)u+\sin(10^\circ)v\) in two hypothetical blocks. Each block has one feature and unit Euclidean norm. Their combined matrix has trace 2 and determinant \(\sin^2(10^\circ)\), so its eigenvalues are \(1+\cos(10^\circ)\) and \(1-\cos(10^\circ)\).

Using \(\cos(10^\circ)\approx0.9848\), the eigenvalues are approximately \(1.9848\) and \(0.01519\). The leading direction is \(5^\circ\) from \(u\), exactly halfway between the two feature directions. The large leading-to-second eigenvalue ratio, about \(130.6\), signals a strong dominant direction in this two-dimensional example; it does not establish that two independent biological sources support it. Here the blocks differ by only \(10^\circ\), so their near agreement is built into the measurements.

More generally, write a near-copy as \(X_b+E\), where \(E\) is a perturbation matrix. The added block contributes \((X_b+E)(X_b+E)^\mathsf{T}\), which equals \(G_b+X_bE^\mathsf{T}+EX_b^\mathsf{T}+EE^\mathsf{T}\). The cross terms and the perturbation term explain why approximate duplication adds nearly another \(G_b\), while also potentially rotating the axis. The exact change depends on the size and orientation of \(E\); small perturbations are most consequential when the leading eigenvalues are close, because then the leading direction is less well separated from alternatives.

Worked Example: An Explicit Weight for Exact Copies

Suppose a feature block \(B\) is present as \(k=4\) exact copies, and the desired contribution is the same as one copy rather than four. Multiply every copied block by \(1/\sqrt{k}=1/2\). If \(B\) is \(n\times p\), the combined cross-product contribution is

$$ \sum_{j=1}^{4}\left(\frac{1}{2}B\right)\left(\frac{1}{2}B\right)^\mathsf{T} =4\left(\frac{1}{4}BB^\mathsf{T}\right) =BB^\mathsf{T}. $$

The calculation restores the contribution of one copy, provided the copies really are exact and the chosen goal is to count their shared information once. If they are only near-duplicates, or if their differences are scientifically meaningful, this adjustment also downweights those differences. The weight is therefore a modeling decision, not an automatic correction.

Diagnosis, Alternatives, and Limitations

A high-variance first component alone cannot reveal whether a block has been repeated. Diagnose redundancy in the data and inspect how conclusions change when it is addressed. Useful checks include:

  • Check feature and block metadata for repeated assays, reused columns, repeated transformations, or duplicated samples.
  • Compare block-level patterns and leading score directions. Very high similarity may reflect shared biology, technical duplication, or both; it is a reason to investigate, not proof of duplication.
  • Recompute the leading axes after removing one suspected duplicate block. Large changes in the direction or interpretation indicate sensitivity to that block’s repeated contribution.
  • Report block contributions alongside a joint map. A component with several apparent supporters may still be dominated by a repeated or near-repeated pattern.

These checks have limits. Similar blocks need not be redundant: distinct assays may measure related biology, and removing one can discard useful information. Conversely, exact duplicates can arise from data handling and may be difficult to detect from correlations alone. A small eigengap also makes component directions unstable, so a rotated axis is not by itself evidence of a preprocessing error.

The main alternatives answer different questions. Separate PCA describes variation within each block without letting another block’s columns change its axes, but it does not produce one joint PCA solution. MFA, as covered in the earlier material on MFA versus separate and concatenated PCA, uses block-level scaling to limit domination from differences in block scale. That scaling does not make duplicate blocks independent: a repeated block included as another block can still add its pattern again. Removing an erroneous copy, grouping redundant measurements, or applying explicit block weights can address redundancy more directly, but each requires a defensible scientific choice.

Common pitfall: “The same component appears in three blocks, so three independent data sources confirm it.” This reasoning fails if the blocks are copies or near-copies: concatenated PCA adds their cross-products, so the apparent agreement can be amplified by repetition. Check block provenance and sensitivity to suspected duplicates before describing the axis as cross-omics consensus.

Practical Interpretation

A joint PCA axis is a summary of the columns supplied to the analysis, not a count of independent biological confirmations. Its interpretation depends on the included features, preprocessing, and block multiplicities. State whether features were centered and scaled, identify any suspected overlap between blocks, and distinguish mathematical contribution from independent evidence. When a component changes sharply after removing a repeated block, report that sensitivity rather than presenting the original axis as an unqualified consensus.

Check Your Understanding

Answer each question, then compare with the brief solutions below.

  1. If a block with cross-product matrix \(G\) is included twice, what is its total contribution to \(XX^\mathsf{T}\)?
  2. Two competing orthogonal directions have contributions 5 and 2. How many exact copies of the second block are needed to make its direction the unique leading axis?
  3. Why does a strong leading component from two highly similar blocks not, by itself, establish independent cross-omics confirmation?
  4. What does scaling each of four exact block copies by \(1/2\) do to their combined cross-product contribution?

Solutions. (1) The contribution is \(2G\), by summing the cross-product matrix once per copy. (2) Three copies give contribution \(3\times2=6\), which exceeds 5; two copies give a tie at 4, not a switch. (3) Their similar patterns are counted repeatedly in the summed cross-product matrix, so the apparent agreement may be due to redundancy rather than independent support. (4) Each scaled copy contributes \((1/2)B(1/2)B^\mathsf{T}=(1/4)BB^\mathsf{T}\); four copies sum to \(BB^\mathsf{T}\), the contribution of one unscaled copy.

Clinical Biostats