MATH 4310 · Computational Bioinformatics

Gene Expression and PCA

Lesson 15 · 2027-03-17 · Week 10

Core question

How do samples differ in their patterns of RNA abundance?

From RNA reads to a measurement matrix

Lessons 13 and 14 used inherited DNA differences to infer ancestry. Within one organism that comparison finds almost nothing: the cells of one person carry essentially the same genome, yet a T cell that has never met an infection behaves very differently from one that is killing infected cells. Much of the difference lies in which genes each cell uses. Cells copy portions of DNA into RNA molecules called transcripts; the abundance of a gene’s transcripts, its expression, differs across cell types and after treatments. Studies of immune memory have sorted T cells into naive, memory, and effector populations and measured the expression of thousands of genes in each sample.1(sec. 7.2)

Figure 15.1 shows what such data look like, with synthetic values for twelve named genes: one row per sample, one column per gene, and color for the log-scale level. We want to know which samples resemble each other and which genes make them alike. Here the eye can answer. CCR7 and SELL, which help naive T cells enter lymph nodes, are bright in the naive rows and dim in the effector rows; GZMB and PRF1, which encode the granzyme and perforin that effector cells use to kill, show the reverse; memory samples mostly sit in between. Because whole groups of genes rise and fall together, one contrast describes most of the picture.

The same coordination appeared in one of the first genome-wide expression experiments, in which yeast cultures were sampled at seven times as they ran out of glucose and switched to consuming the ethanol they had made; only a few hundred of the roughly 6,400 genes changed appreciably, and those moved together in a few shared patterns.2,3 Genes that move together are often controlled by the same regulators, so a shared pattern can point to a coordinated cellular program and suggest roles for uncharacterized genes. A real experiment measures about 20,000 genes, far too many columns to scan, so we want a few coordinates per sample that retain most of the measured variation, together with gene weights saying which genes produce it.

Python Generate the synthetic T-cell expression matrix
import numpy as np

gene_names = ["CCR7", "SELL", "TCF7", "LEF1", "IL7R", "GZMB", "PRF1",
              "IFNG", "KLRG1", "CX3CR1", "ACTB", "GAPDH"]
group_means = {
    "naive": [10, 10, 9, 9, 9, 2, 3, 2, 2, 1, 13, 12],
    "memory": [7, 7, 7, 7, 10, 5, 6, 6, 5, 4, 13, 12],
    "effector": [3, 3, 4, 4, 4, 11, 11, 10, 10, 9, 13, 12],
}
rng = np.random.default_rng(15)
sample_names = []
expression_rows = []
for group, means in group_means.items():
    for replicate in range(1, 4):
        sample_names.append(f"{group} {replicate}")
        expression_rows.append(np.array(means) + rng.normal(0, 0.5, len(means)))

A heat map with nine rows labeled naive 1 to 3, memory 1 to 3, effector 1 to 3, and twelve gene columns. The first five columns are bright for naive rows and dark for effector rows, with memory rows in between except a bright IL7R column; the next five columns are the reverse; the last two columns are uniformly bright.

Figure 15.1. A synthetic expression matrix for nine sorted T-cell samples (rows) and twelve named genes (columns), on a log2 scale. Values are invented to mimic the known pattern, not measurements. Naive-cell genes (CCR7 to IL7R) and effector genes (GZMB to CX3CR1) change in opposite directions, memory samples are intermediate for most genes, and ACTB and GAPDH, housekeeping genes drawn flat here, do not change. Coordinated blocks of genes distinguish the samples.

In a typical RNA-sequencing workflow, RNA is collected from each sample and copied into complementary DNA (cDNA); fragments of this DNA are sequenced. Matching those reads to known gene sequences gives a count table.1(secs. 7.2, 8.2) In Figure 15.2, six short read records produce the row (4, 2, 0) for three genes. Each entry counts the reads from one sample assigned to one gene, a sample of the RNA present rather than a count of protein molecules.

Three reference cDNA segments labeled gene 1, gene 2, and gene 3. Four short reads appear at their matching offsets under gene 1, two under gene 2, and none under gene 3. Arrows lead to the count row 4, 2, 0.

Figure 15.2. Six toy cDNA reads aligned to distinct reference gene segments produce one count-table row: four reads for gene 1, two for gene 2, and zero for gene 3. Zero means no read was assigned to that gene in this sample; it does not establish that the cell contained no corresponding RNA.

We use samples as rows and genes as columns, as in Figure 15.1; many RNA-seq files use the opposite orientation, so check the row and column names before transposing. Raw counts depend on sequencing depth, the number of reads recorded per sample, and genes differ enormously in scale, so counts are first normalized and log-transformed. Here we hold those steps fixed to understand the mathematical summary. The input is a transformed numerical matrix \(X\in\mathbb R^{n\times p}\), with \(n\ge2\) samples and \(p\) genes, like the log-scale values in the heat map.

Because groups of genes move together, a weighted combination of genes can describe a sample contrast better than any single gene. Principal component analysis (PCA) builds sample coordinates from such combinations, choosing the weights to preserve as much of the samples’ spread as possible.

Centering and a direction in gene space

Different genes have different baseline levels. To summarize differences among samples, remove each gene’s mean: \[ \bar x_j=\frac1n\sum_{i=1}^n X_{ij}, \qquad Z_{ij}=X_{ij}-\bar x_j. \] Thus each column of \(Z\) sums to zero. A row \(z_i\) describes how sample i differs from the mean expression profile. We center genes across samples, rather than subtracting a separate mean from each sample.

Choose a unit vector \(v\in\mathbb R^p\), so \(\|v\|_2^2=\sum_jv_j^2=1\). Its entries weight the genes. The projected coordinate of sample i is \[ t_i=z_i v=\sum_{j=1}^p Z_{ij}v_j, \qquad t=Zv\in\mathbb R^n. \] The gene weights \(v\) are loadings; the sample coordinates \(t\) are scores. For example, positive weights on two genes combine their departures from their means into one score. A loading has one entry per gene, while a score vector has one entry per sample.1(secs. 7.4, 7.6.4)

Definition 15.1 First principal component

Input: a centered matrix \(Z\in\mathbb R^{n\times p}\), one row per sample and one column per gene.

Output: a loading direction \[ v_1\in\operatorname*{argmax}_{\|v\|_2=1} \frac{\|Zv\|_2^2}{n-1} \] and its scores \(t_1=Zv_1\).

The objective is the sample variance of the scores: because they have mean zero, it is their sum of squared values divided by \(n-1\). The unit-length constraint is essential: multiplying \(v\) by ten would otherwise multiply the objective by one hundred without choosing a better direction.

Why large spread also gives a good reconstruction

A score tells us where a sample lies along a line, but discards its position perpendicular to that line. To reconstruct the sample from its score, multiply the coordinate \(t_i\) by the direction: \(\hat z_i=t_i v^\top\). The residual \(z_i-\hat z_i\) is perpendicular to \(v\), since \((z_i-t_i v^\top)v=t_i-t_i=0\). Each sample therefore forms a right triangle with the centered origin and its projection. Adding Pythagoras over the samples gives \[ \|Z\|_F^2=\|Zv\|_2^2+\|Z-(Zv)v^\top\|_F^2, \] where \(\|M\|_F^2=\sum_{i,j}M_{ij}^2\) is the squared Frobenius norm. Rotating the line redistributes a fixed total: a direction with more spread along it has less squared distance left perpendicular to it. Thus the line that maximizes score variance also minimizes reconstruction error.1(sec. 7.3.2)

For a preview, take the first two genes of the four-sample matrix in Example 15.1. Their centered measurements are \((-2,-1)\), \((-1,-2)\), \((1,2)\), and \((2,1)\). Both genes tend to be below their means in s1 and s2 and above their means in s3 and s4. Figure 15.3 compares two ways to summarize that coordinated variation: using gene 1 alone or combining the genes along their shared direction. The retained sum of squares rises from 10 to 18 while the residual falls from 10 to 2, keeping the total at 20.

Two panels show points at minus2,minus1; minus1,minus2; 1,2; and 2,1. Left projections lie on the horizontal axis; right projections lie on the diagonal, with shorter perpendicular residuals.

Figure 15.3. The first two centered genes projected onto a single-gene axis and onto their joint PCA direction. Red crosses mark reconstructed points and grey segments mark residuals. A shared expression direction retains more spread with less reconstruction error.

Why an eigenvector solves the problem

Define the sample covariance matrix \[ S=\frac{Z^\top Z}{n-1}\in\mathbb R^{p\times p}. \] Its entry \(S_{jk}\) averages products of the centered measurements for genes j and k. Positive values indicate that their departures tend to have the same sign; negative values indicate opposite signs. The diagonal \(S_{jj}\) is the variance of gene j.

The PCA objective can be written with \(S\). Squaring and adding the scores gives \[ \frac{\|Zv\|_2^2}{n-1}=\frac{(Zv)^\top(Zv)}{n-1} =v^\top\Bigl(\frac{Z^\top Z}{n-1}\Bigr)v=v^\top Sv =\sum_{j=1}^p\sum_{k=1}^p v_j\,S_{jk}\,v_k . \] Read from the right, the variance along \(v\) takes every pair of genes, multiplies their covariance by the product of their weights, and adds. Two genes that rise together (\(S_{jk}>0\)) contribute extra variance when they receive weights of the same sign, which is why combining genes 1 and 2 retained more spread in Figure 15.3. Recall that an eigenvector satisfies \(Sv_k=\lambda_kv_k\): multiplication by \(S\) leaves its direction unchanged. A real symmetric matrix such as \(S\) has an orthonormal basis of eigenvectors \(v_1,\ldots,v_p\). Its eigenvalues are nonnegative, since \(v^\top Sv=\|Zv\|^2/(n-1)\ge0\). Order them as \(\lambda_1\ge\cdots\ge\lambda_p\ge0\).

Along eigenvector \(v_k\), the score variance is exactly \(v_k^\top Sv_k=\lambda_k\); a general unit direction mixes these perpendicular directions, and its variance is a weighted average of their eigenvalues, with weights equal to its squared coefficients. For genes 1 and 2 of Example 15.1, whose eigenvalues are 6 and \(2/3\), the unit vector \(v=(\cos\theta,\sin\theta)\) gives \[ v^\top Sv=6\cos^2(\theta-45^\circ)+\tfrac23\sin^2(\theta-45^\circ), \] a weighted average with weights summing to one, so the variance peaks at \(\theta=45^\circ\). Figure 15.4 follows the sums of squares as \(v\) rotates.

Python Compute retained spread as the direction rotates
import numpy as np

# Centered values for genes 1 and 2 of the four-sample example.
two_genes = np.array([[-2, -1], [-1, -2], [1, 2], [2, 1]], dtype=float)
angles = np.linspace(0, 180, 361)
retained = []
for angle in np.radians(angles):
    direction = np.array([np.cos(angle), np.sin(angle)])
    retained.append(np.sum((two_genes @ direction) ** 2))
retained = np.array(retained)
total = np.sum(two_genes ** 2)

Two curves against angle from 0 to 180 degrees. The retained curve rises from 10 to a red-marked maximum of 18 at 45 degrees and falls to 2 at 135 degrees; the residual curve mirrors it. A dashed line at 20 marks their constant sum.

Figure 15.4. Retained and residual sums of squares for the two centered genes of Figure 15.3 as the unit direction v = (cos θ, sin θ) rotates. The curves always add to 20, so the retained part peaks at 18 on the eigenvector direction θ = 45° exactly where the residual is smallest.

Theorem 15.1 Maximum-variance direction

A unit eigenvector of S with largest eigenvalue maximizes the PCA objective, and its score variance is \(\lambda_1\).

Proof

Write a unit \(v\) in the orthonormal eigenbasis as \(v=\sum_k\alpha_kv_k\), with \(\sum_k\alpha_k^2=1\). Orthogonality removes the cross terms, giving \[ v^\top Sv=\sum_k\lambda_k\alpha_k^2 \le\lambda_1\sum_k\alpha_k^2=\lambda_1. \] Taking \(v=v_1\) puts all the weight on \(\lambda_1\) and attains the bound.

Key idea

Rotating a unit direction only moves squared spread between the line and its perpendicular, so the direction of greatest spread is also the best-fitting line. Along any unit direction the variance is a weighted average of the eigenvalues of \(S\), so the top eigenvector wins.

Further components maximize the same objective subject to being perpendicular to earlier loading directions. Choosing successive eigenvectors gives variances \(\lambda_2,\lambda_3,\ldots\). Their scores have zero pairwise sample covariance, because \[ \frac{t_j^\top t_k}{n-1}=v_j^\top Sv_k=0\quad(j\ne k). \] This is an algebraic property of the summary; it does not say the underlying genes or biological mechanisms are independent.

A four-sample example by hand

Example 15.1 PCA of four samples and three genes

Suppose these synthetic numbers have already been put on a comparable transformed expression scale:

sample gene 1 gene 2 gene 3
s1 4 7 5
s2 5 6 3
s3 7 10 3
s4 8 9 5

The column means are \((6,8,4)\), so \[ Z=\begin{pmatrix} -2&-1&1\\ -1&-2&-1\\ 1&2&-1\\ 2&1&1 \end{pmatrix}, \qquad S=\frac13\begin{pmatrix}10&8&0\\8&10&0\\0&0&4\end{pmatrix}. \] Genes 1 and 2 tend to increase together, but are not identical. Each alone has variance \(10/3\), while their equal combination is an eigenvector with the larger variance 6: \[ S\frac{(1,1,0)^\top}{\sqrt2} =6\frac{(1,1,0)^\top}{\sqrt2}. \] The complete eigenpairs, in decreasing order, are \[ v_1=\frac1{\sqrt2}(1,1,0)^\top,\quad \lambda_1=6; \qquad v_2=(0,0,1)^\top,\quad \lambda_2=\frac43. \] The third direction is \(v_3=(1,-1,0)^\top/\sqrt2\), with \(\lambda_3=2/3\). It records the smaller disagreements between genes 1 and 2.

The score vectors are \[ t_1=(-3,-3,3,3)^\top/\sqrt2, \qquad t_2=(1,-1,-1,1)^\top. \] For instance, sample s1 has score \((-2-1)/\sqrt2=-3/\sqrt2\) on PC1. Its reconstruction is \((-3/2,-3/2,0)\), so its residual is \((-1/2,1/2,1)\), with squared length \(3/2\). PC1 separates s1 and s2 from s3 and s4 through the coordinated shift in genes 1 and 2. It loses both the gene-3 contrast and the smaller gene-1 versus gene-2 differences.

The first component’s fraction of explained variance is \[ \frac{\lambda_1}{\sum_j\lambda_j} =\frac{6}{6+4/3+2/3}=\frac34=75\%. \]

“Explained” means retained squared spread of these transformed measurements.

SVD computes scores and loadings together

The covariance matrix has one entry for every gene pair, which is costly to store when there are many more genes than samples. We can compute scores and loadings directly from the centered expression matrix instead. The singular value decomposition (SVD) writes an \(n\times p\) matrix as \[ Z=UDV^\top=\sum_{j=1}^{q}d_j u_jv_j^\top, \qquad q=\min(n,p). \] In this reduced form, \(U\) is \(n\times q\), \(V\) is \(p\times q\), and \(D\) is a \(q\times q\) diagonal matrix. The columns \(u_k\) of \(U\) are orthonormal, as are the columns \(v_k\) of \(V\), and the singular values satisfy \(d_1\ge\cdots\ge d_q\ge0\). Each term is a rank-one pattern: entry \((i,j)\) is \(d_k u_{ik}v_{jk}\). Samples differ in how strongly they express that pattern, while the same gene weights are used for every sample.1(secs. 7.6.1, 7.6.3)

Rank counts independent directions. Centering makes the \(n\) sample row vectors add to the zero vector (each column sums to zero), so at most \(\min(n-1,p)\) singular values are positive. Even a matrix with thousands of genes cannot have more than \(n-1\) independent centered sample contrasts.

Multiplying out connects the SVD to PCA: \[ S=\frac1{n-1}VD^2V^\top, \qquad ZV=UD. \] The columns of \(V\) are loading directions; the score matrix is \(T=ZV=UD\), with \(T_{ij}\) the coordinate of sample i on component j. For each nonzero component, \(\lambda_j=d_j^2/(n-1)\). The explained-variance fraction is therefore \(d_j^2/\sum_kd_k^2\).

The columns of \(U\) are normalized sample-score patterns: \(Zv_k=d_ku_k\). For our example, \(d_1=\sqrt{18}\), \(d_2=2\), \(d_3=\sqrt2\), and \(u_1=(-1,-1,1,1)^\top/2\). The first rank-one term is therefore \[ d_1u_1v_1^\top= \begin{pmatrix} -3/2&-3/2&0\\ -3/2&-3/2&0\\ 3/2&3/2&0\\ 3/2&3/2&0 \end{pmatrix}. \] This piece describes two low-score samples and two high-score samples sharing the same gene profile. Adding the other two pieces recovers their remaining differences. Multiplying both \(u_k\) and \(v_k\) by \(-1\) leaves the piece unchanged; we fix signs only to make displayed outputs reproducible.

Algorithm PCA of supplied transformed data

Input: a transformed expression matrix \(X\in\mathbb R^{n\times p}\) with \(n\ge 2\) samples as rows and \(p\) genes as columns, and a number of components \(0\le r\le q=\min(n,p)\) to retain.

Output: loadings \(V\), scores \(T\), component variances, explained fractions when total variance is positive, and the reconstruction \(Z_r\) from the first \(r\) components.

  1. For each gene \(j=1,\ldots,p\):
    1. \(\bar x_j\leftarrow\frac1n\sum_{i=1}^{n}X_{ij}\). // average across samples
    2. For \(i=1,\ldots,n\), \(Z_{ij}\leftarrow X_{ij}-\bar x_j\). // center each gene
  2. \((U,D,V)\leftarrow\) the reduced SVD of \(Z\), so \(Z=UDV^\top\) and \(d_1\ge\cdots\ge d_q\ge0\). // factor centered Z
  3. For each component \(k=1,\ldots,q\):
    1. Let \(v_k\) and \(u_k\) be column \(k\) of \(V\) and \(U\). Find the first entry of \(v_k\) with largest magnitude.
    2. If that entry is negative, \(v_k\leftarrow -v_k\) and \(u_k\leftarrow -u_k\). // flip both vector signs
    3. \(\lambda_k\leftarrow d_k^2/(n-1)\). // component variance
  4. \(T\leftarrow ZV\). Entry \(T_{ik}\) is the score of sample \(i\) on component \(k\). // project onto loadings
  5. \(W\leftarrow\sum_{\ell=1}^q d_\ell^2\). If \(W>0\), report \(d_k^2/W\) as the explained fraction for each component \(k\).
  6. \(T_r,V_r\leftarrow\) the first \(r\) columns of \(T,V\), respectively. Set \(Z_r\leftarrow T_rV_r^\top\). // approximate centered data
  7. Return \(V\), \(T\), the \(\lambda_k\), any explained fractions, and \(Z_r\). To reconstruct values on the original scale of \(X\), add \(\bar x_j\) to each entry of column \(j\) of \(Z_r\).
Python Compute and check the four-sample PCA
import numpy as np

X = np.array([[4, 7, 5], [5, 6, 3], [7, 10, 3], [8, 9, 5]], dtype=float)
means = X.mean(axis=0)
Z = X - means
U, singular_values, Vt = np.linalg.svd(Z, full_matrices=False)
loadings = Vt.T.copy()
for component in range(loadings.shape[1]):
    pivot = np.argmax(np.abs(loadings[:, component]))
    if loadings[pivot, component] < 0:
        loadings[:, component] *= -1
        U[:, component] *= -1
scores = Z @ loadings
variances = singular_values**2 / (X.shape[0] - 1)
total_spread = np.sum(singular_values**2)
explained = singular_values**2 / total_spread
Z_one = scores[:, :1] @ loadings[:, :1].T
print("variances:", np.round(variances, 3))
print("PC1 loadings:", np.round(loadings[:, 0], 3))
print("PC1 scores:", np.round(scores[:, 0], 3))
print("explained:", np.round(explained, 3))
print("rank-one squared error:", np.sum((Z - Z_one)**2))

For the four-sample matrix, the component variances are \((6,1.333,0.667)\), with explained fractions \((0.750,0.167,0.083)\). PC1 has loadings \((0.707,0.707,0)\) and scores \((-2.121,-2.121,2.121,2.121)\). Each reconstructed row has squared residual \(3/2\), so the total error is 6, agreeing with the hand calculation.

Best low-rank reconstruction

For \(0\le r\le q\) retained directions define \(Z_r=\sum_{j=1}^r d_j u_jv_j^\top\). This solves a second explicit optimization problem: \[ \min_{\operatorname{rank}(A)\le r}\|Z-A\|_F^2 =\|Z-Z_r\|_F^2 =\sum_{j>r}d_j^2. \] This is the squared-error form of the Eckart-Young result. In our example, \(r=1\) leaves error \(4+2=6\), \(r=2\) leaves error 2, and \(r=3\) leaves zero. Each added component restores a pattern perpendicular to the ones already retained, reducing the error by its squared singular value.

Going deeper why no other rank-r matrix fits better
Proof sketch

The rows of any rank-at-most-\(r\) approximation \(A\) lie in a subspace \(W\) of dimension at most \(r\); pad it to dimension \(r\) and choose an orthonormal basis \(w_1,\ldots,w_r\). Projecting each row of \(Z\) onto \(W\) is at least as close as the row proposed by \(A\), so by Pythagoras it suffices to maximize the retained spread. In a full orthonormal eigenbasis \(v_1,\ldots,v_p\) of \(Z^\top Z\), with \(d_j=0\) for \(j>q\), \[ \sum_{k=1}^r\|Zw_k\|^2=\sum_{j=1}^p d_j^2\beta_j, \qquad \beta_j=\sum_{k=1}^r(v_j^\top w_k)^2 . \] Each \(\beta_j\) is the squared length of the projection of the unit vector \(v_j\) onto \(W\), and the \(\beta_j\) add up to the dimension of \(W\): \[ 0\le\beta_j\le1, \qquad \sum_{j=1}^p\beta_j=r . \] With such weights the sum is largest when weight one falls on the \(r\) largest squared singular values, giving \(\sum_{j\le r}d_j^2\), and \(W\) spanned by \(v_1,\ldots,v_r\) attains it. The error is then \(\|Z\|_F^2-\sum_{j\le r}d_j^2=\sum_{j>r}d_j^2\).

Adding the means back yields \(X_r=Z_r+\mathbf1\bar x^\top\). The rank guarantee concerns the centered variation \(Z\), not necessarily this matrix with its baseline restored.

What the summary can and cannot establish

Return to the T-cell question of Figure 15.1. The same steps, applied to its nine-by-twelve synthetic matrix, answer both parts at once:

Python Compute PC1 for the synthetic T-cell matrix
# Use expression_rows from "Generate the synthetic T-cell expression matrix".
expression = np.array(expression_rows)
centered = expression - expression.mean(axis=0)
_, t_cell_singular, t_cell_vt = np.linalg.svd(centered, full_matrices=False)
t_cell_loadings = t_cell_vt[0].copy()
if t_cell_loadings[np.argmax(np.abs(t_cell_loadings))] < 0:
    t_cell_loadings *= -1
print("PC1 fraction:", np.round(t_cell_singular[0]**2 / np.sum(t_cell_singular**2), 3))
print("PC1 loadings:", np.round(t_cell_loadings, 2))
print("PC1 scores:", np.round(centered @ t_cell_loadings, 1))

One component retains about 97% of the squared spread. Its loadings are negative for the five naive-cell genes, positive for the five effector genes, and near zero for ACTB and GAPDH. The scores range from \(-10.8\) to \(-9.7\) for naive samples, \(-2.4\) to \(-1.6\) for memory samples, and \(12.0\) to \(13.2\) for effector samples. A single coordinate orders the groups, and its loadings show which genes contribute to that ordering.

The optimality guarantees concern the matrix supplied to PCA: without centering, the squared spread includes the common mean profile, and rescaling genes changes which differences count most. Lesson 16 examines these choices along with sequencing depth and sample metadata.

PCA retains directions with large squared spread; a technical batch or an outlier can supply that spread. Genes with large loadings of the same sign move together across these samples, which makes them candidates for a shared regulatory program, although the loadings alone show neither that they share one nor that they cause the contrast. The biological inference comes from relating these gene patterns and sample coordinates to the experiment.

Exercises

Exercise 15.1. Verify the displayed covariance matrix and all three eigenpairs. Compute the variance of \(t_1\) directly from its four entries and check the eigenvalue formula.

Exercise 15.2. Add the means back to the displayed rank-one reconstruction. Which sample differences disappear? Explain why its squared error is 6, and check that retaining PC2 reduces the error to 2.

Exercise 15.3. Add 100 to gene 3 in every row of \(X\). Show that centered PCA is unchanged. Explain why an uncentered SVD need not be unchanged.

Exercise 15.4. Using orthonormal loading eigenvectors, prove that different score columns have sample covariance zero. Why is that insufficient to establish independence of biological mechanisms?

References 3 sources
1.Holmes, S., and W. Huber. 2019. Modern Statistics for Modern Biology. Cambridge University Press. huber.embl.dehttps://www.huber.embl.de/msmb/↑ 1 2 3 4 5
2.DeRisi, J. L., V. R. Iyer, and P. O. Brown. 1997. Exploring the metabolic and genetic control of gene expression on a genomic scale. Science 278: 680–686. doihttps://doi.org/10.1126/science.278.5338.680↑
3.Compeau, P., and P. Pevzner. 2015. Bioinformatics Algorithms: An Active Learning Approach. 2nd ed. Active Learning Publishers.↑