Exploratory multi-omics analysis and principal components
Practical 19: Genomics, systems biology and multi-omics
Learning objectives
Orient matrices correctly; compare covariance and standardized PCA; inspect variance explained and sample patterns; distinguish exploration from inference.
Biological question and data
Which sample patterns appear in the hypothetical protein and metabolite panels?
Animals are rows in the PCA inputs; molecular features are columns. Both panels are supplied log2 values and contain shared latent variation by construction. Standardization is used for description, not prediction.
No biological download is required. Numerical inputs are hypothetical, not observed animal data. The runnable examples use base R. Count and abundance units are specified where used.
1. Prepare matched feature matrices
Use complete measurements and explicit animal alignment.
Unit-variance scaling makes different feature variances comparable for this representation. It also gives a noisy low-variance feature greater relative weight.
2. Plot scores with design labels
The same PCA scores can be labelled by diet, batch or farm to investigate alternative explanations.
Sample scores describe where observations lie; loadings describe which features contribute to an axis. A diet-associated axis can also reflect batch or a common driver. Colour by relevant metadata and inspect the retained feature set.
Variance explained is relative to the matrix and scaling analysed. It cannot be compared blindly between raw, standardized and differently filtered matrices. A high first-PC fraction can arise from redundant features, not necessarily a more coherent biological mechanism. Do not select exclusions solely to produce clearer clusters.
Interpretation challenge
A new software run reverses PC1 but shows the same sample geometry. Did the biological result reverse?
Suggested reasoning
No. The sign of a component is arbitrary when scores and loadings are changed consistently. Interpret relative positions, loadings and the stated transformation.
Interpretation and limits
PCA is an exploratory linear representation, not an independent test of treatment or a causal network. For prediction, fit scaling and PCA on training animals and project test animals using those parameters. Select the interpretation after considering batch, biological covariates and sampling.
Exercises
Why can a loading sign reverse?
Does a visible diet cluster prove the intervention mechanism?
Why is fitting PCA on train and test together inappropriate for an untouched prediction test?
Suggested answers
An eigenvector and its negative represent the same axis.
No; design and other shared drivers must be examined.
The representation incorporates information from the evaluation population.