Skip to main content
. Author manuscript; available in PMC: 2017 Dec 8.
Published in final edited form as: IEEE/ACM Trans Comput Biol Bioinform. 2016 Jul 7;14(6):1434–1445. doi: 10.1109/TCBB.2016.2586065

Table I.

Metrics for comparison of metabolic profiles and their characteristics

Metrics Characteristics Characteristics
Minkowski distance
d(X,Y)=(i=1N|xiyi|m)1m
A general metric, here implemented with m = 3.
Euclidean distance
d(X,Y)=(i=1N|xiyi|2)12
Commonly used; increases influences of errors from large components on distance to some extent
Manhattan distance
d(X,Y)=(i=1N|xiyi|)
Each component has the same influence on distance
Jeffreys & Matusita distance
d(X,Y)=(i=1N|xiyi|2)12
Based on Euclidean distance; increases influences of errors from small components on distance to some extent
Canberra distance
d(X,Y)=(i=1N|xiyixi+yi|)
A metric considering relative magnitudes of errors in components
Relative distance
d(X,Y)=(i=1N(xiyiyi)2)12
Similar to Euclidean distance but uses relative distance instead
Cosine of angle
similarity(X,Y)=i=1Nxiyi(i=1Nxi2i=1Nyi2)12
A similarity metric using the cosine of the angle between two vectors; not affected by absolute values of components
Dice’s coefficient
similarity(X,Y)=2i=1Nxiyii=1Nxi2+i=1Nyi2
A similarity metric comparable to the cosine similarity, using arithmetic averages instead of geometric averages
Jaccard similarity coefficient
similarity(X,Y)=i=1Nxiyii=1Nxi2+i=1Nyi2i=1Nxiyi
A similarity metric similar to general Dice’s similarity