Related Experiment Video
Updated: Aug 11, 2025

Analyzing Multifactorial RNA-Seq Experiments with DiCoExpress
Published on: July 29, 2022
On triangle inequalities of correlation-based distances for gene expression profiles
Jiaxing Chen1,2, Yen Kaow Ng1, Lu Lin1
1Department of Computer Science, City University of Hong Kong, Hong Kong, China.
Background:
Distance functions are fundamental for evaluating the differences between gene expression profiles. Such a function would output a low value if the profiles are strongly correlated-either negatively or positively-and vice versa. One popular distance function is the absolute correlation distance, [Formula: see text], where [Formula: see text] is similarity measure, such as Pearson or Spearman correlation. However, the absolute correlation distance fails to fulfill the triangle inequality, which would have guaranteed better performance at vector quantization, allowed fast data localization, as well as accelerated data clustering.
Results:
In this work, we propose [Formula: see text] as an alternative. We prove that [Formula: see text] satisfies the triangle inequality when [Formula: see text] represents Pearson correlation, Spearman correlation, or Cosine similarity. We show [Formula: see text] to be better than [Formula: see text], another variant of [Formula: see text] that satisfies the triangle inequality, both analytically as well as experimentally. We empirically compared [Formula: see text] with [Formula: see text] in gene clustering and sample clustering experiment by real-world biological data. The two distances performed similarly in both gene clustering and sample clustering in hierarchical clustering and PAM (partitioning around medoids) clustering. However, [Formula: see text] demonstrated more robust clustering. According to the bootstrap experiment, [Formula: see text] generated more robust sample pair partition more frequently (P-value [Formula: see text]). The statistics on the time a class "dissolved" also support the advantage of [Formula: see text] in robustness.
Conclusion:
[Formula: see text], as a variant of absolute correlation distance, satisfies the triangle inequality and is capable for more robust clustering.
More Related Videos
Related Concept Videos
Coefficient of Correlation
If you suspect a linear relationship between x and y, then r can measure how strong the linear relationship is.
What the VALUE of r tells us:
The value of r is always between –1 and +1: –1 ≤ r ≤ 1.
The size of the correlation r indicates the...
Correlation and Regression
Spearman's Rank Correlation Test
Spearman's test calculates...
Calculating and Interpreting the Linear Correlation Coefficient
Calibration Curves: Correlation Coefficient
DNA Microarrays

