Overview
Dimensionality reduction maps high-dimensional data — where each sample has thousands or tens of thousands of measured features — into a low-dimensional space, typically two or three dimensions, that preserves important structure. This serves two primary purposes: visualization, allowing researchers to see patterns, clusters, and outliers by eye; and denoising, removing irrelevant variation that degrades downstream analysis. Biological data, from gene expression matrices to mass spectra, is inherently high-dimensional and often redundant, making dimensionality reduction an essential preprocessing step.
Methods
Principal component analysis (PCA) finds orthogonal axes of maximum variance through linear combinations of the original features. It is fast, deterministic, and widely used for initial exploration. t-distributed stochastic neighbor embedding (t-SNE) constructs a probability distribution over pairwise similarities in high-dimensional space and minimizes the Kullback-Leibler divergence to a low-dimensional map, excelling at revealing local structure and clusters. Uniform Manifold Approximation and Projection (UMAP) builds on similar principles but better preserves global structure and is significantly faster. Autoencoders use neural networks to learn non-linear embeddings and can capture complex manifolds. Each method has hyperparameters — perplexity for t-SNE, n_neighbors for UMAP — that strongly influence the resulting visualization.
Applications
Dimensionality reduction is standard practice for exploring DNA microarrays and gene expression data, visualizing cell populations in flow cytometry, and inspecting quality in proteomics and mass spectrometry experiments. Single-cell RNA-seq analysis pipelines routinely use PCA for initial denoising followed by UMAP for visualization, enabling the discovery of novel cell types and states from transcriptomic data.