TL;DR
This paper introduces PARE, a novel framework that allows for the removal of confounding effects from any distance-based dimension reduction technique, such as t-SNE and UMAP. This is crucial for accurately visualizing complex biological data by separating true biological patterns from unwanted technical or experimental variations.
What Problem Does This Paper Address?
High-dimensional biological data, like single-cell RNA sequencing (scRNA-seq) or neuroimaging data, often contain complex patterns that researchers want to visualize and understand. Dimension reduction techniques like t-SNE and UMAP are powerful tools for creating low-dimensional representations of this data, revealing these patterns. However, these methods are highly sensitive to "confounders" – unwanted sources of variation such as batch effects (differences between experimental runs or labs), scanner variations in imaging, or donor-specific characteristics. These confounders can obscure true biological signals or create spurious patterns, leading to misinterpretations. Existing methods for removing confounders often require modifying the dimension reduction algorithm itself or are specific to certain types of confounders. The paper addresses the need for a generalizable framework that can be applied to any distance-based dimension reduction method to effectively remove these confounding effects.
Methods
The core of the PARE framework is built upon the concept of "adjusted principal coordinates." The authors first leverage Adjusted Principal Coordinates Analysis (aPCoA). This method takes the principal coordinates derived from a distance matrix and regresses out the effects of specified nuisance covariates (confounders). This results in "covariate-adjusted dissimilarities."
The PARE framework then uses these covariate-adjusted dissimilarities as input for any standard distance-based dimension reduction method. For methods that operate directly on pairwise distances (like t-SNE and UMAP when using Euclidean distances), PARE effectively substitutes the original distances with these adjusted dissimilarities. This allows the dimension reduction algorithm to learn embeddings that are less influenced by the confounders.
The authors specifically develop partial t-SNE (p-t-SNE) and partial UMAP (p-UMAP) by applying the PARE framework to these popular algorithms. The process involves:
- Calculating principal coordinates (Z) from the original data's distance matrix.
- Residualizing Z with respect to the nuisance covariates (X) to obtain adjusted coordinates (E).
- Inputting these adjusted coordinates (E) into the chosen dimension reduction method (t-SNE or UMAP).
This approach is computationally efficient, relying on standard linear regression and eigendecomposition.
Datasets
The paper evaluates the PARE framework using three distinct datasets:
- Human pancreatic cell scRNA-seq data: This dataset is an aggregation of four published studies, treated as separate batches. It includes a large number of cells (13,369) with variations in batches, donors, and cell types. This dataset is used to demonstrate the removal of batch and donor effects.
- ADNI cortical thickness dataset: This dataset comprises brain cortical thickness measurements from the Alzheimer's Disease Neuroimaging Initiative (ADNI) study. It includes participants with different diagnoses (Cognitively Normal, Late Mild Cognitive Impairment, Alzheimer's Disease) and data acquired from scanners of different manufacturers (Siemens, Philips, GE). This dataset is used to separate biological (diagnosis) and technical (scanner manufacturer) variability.
- NAIMS traveling subjects study: This dataset consists of brain white matter and gray matter volumes from a multi-site study of multiple sclerosis (MS) patients. Participants were scanned at four different sites using different scanners (Siemens and Philips). This dataset is used to identify scanner effects independently of subject-specific variations.
The paper does not introduce new benchmark datasets but rather applies PARE to existing, publicly available or accessible datasets to showcase its utility.
Key Insights and Ideas
- Generalizability: The most significant insight is the development of a general framework (PARE) that can be applied to any distance-based dimension reduction method, rather than requiring algorithm-specific modifications for confounder removal.
- Separation of Signals: PARE effectively disentangles true biological signals from technical artifacts, allowing for clearer visualization of underlying patterns. This is demonstrated by separating diagnosis from scanner effects in neuroimaging and batch effects from cell type in scRNA-seq.
- Computational Efficiency: The method relies on well-established techniques like PCoA and linear regression, making it computationally feasible for large datasets.
- Preservation of Structure: While removing confounders, PARE aims to preserve the essential pairwise distances and structure of the original data, ensuring that the resulting embeddings are still meaningful representations.
Key Results
- scRNA-seq: PARE (p-t-SNE and p-UMAP) significantly reduced batch effects in human pancreatic cell data, leading to better integration across studies. It also improved the separation of cell types, as measured by metrics like LISI and ASW. PARE outperformed or matched other batch correction methods like BC-t-SNE, ComBat, fastMNN, and Harmony in certain aspects.
- Brain Cortical Thickness (ADNI): PARE successfully separated scanner manufacturer effects from diagnosis effects. Specifically, PARE adjusted for manufacturer bias allowed for clearer visualization of differences between AD patients and controls, while also highlighting scanner-specific variations.
- Brain Volumetric Data (NAIMS): PARE identified technical variability related to scanner type (Philips vs. Siemens) in a multi-site study, which was not apparent in the original t-SNE/UMAP embeddings. This demonstrated PARE's ability to uncover subtle technical differences.
Limitations and Future Work
- Visualization Focus: The authors acknowledge that PARE is primarily for exploratory data visualization and does not directly address confounding effects in downstream statistical analyses. They suggest that adjusted dissimilarity matrices have been explored for nonparametric analyses.
- Data Properties: PARE does not claim to preserve all properties of the original data, as dimension reduction methods inherently distort some aspects.
- Comparison to Harmonization: While PARE performs well, the paper notes that harmonization methods followed by dimension reduction might outperform PARE in some batch correction scenarios.
- Future Directions:
- Extending PARE to other dimension reduction methods beyond t-SNE and UMAP.
- Exploring more complex modeling approaches for confounder adjustment, such as linear mixed models or general additive models, especially for longitudinal data.
- Integrating PARE with multimodal regression models for handling multiple complex data types.
- Investigating the application of PARE to data types beyond Euclidean distances.
Summary updated