# CREx: distance matrix.How should the results from the new tables, where the diagonal is zero, be interpreted?

**URL:** https://help.galaxyproject.org/t/crex-distance-matrix-how-should-the-results-from-the-new-tables-where-the-diagonal-is-zero-be-interpreted/12847
**Category:** usegalaxy.eu support
**Tags:** tool-help, revoluzer\_crex
**Created:** [July 2, 2024, 1:35am UTC](https://help.galaxyproject.org/t/crex-distance-matrix-how-should-the-results-from-the-new-tables-where-the-diagonal-is-zero-be-interpreted/12847 "2024-07-02T01:35:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Linno](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@Linno](https://help.galaxyproject.org/u/Linno)
#### Post date: [July 2, 2024, 1:35am UTC](https://help.galaxyproject.org/t/crex-distance-matrix-how-should-the-results-from-the-new-tables-where-the-diagonal-is-zero-be-interpreted/12847/1 "2024-07-02T01:35:08Z")

</div>

CREx: distance matrix.How should the results from the new tables, where the diagonal is zero, be interpreted?  
Most of the literature I see follows the common intervals where a higher number is more similar as they share more common intervals. In the tables generated by the new website, is it still the case that higher values indicate greater similarity?Or rather, how should the results from the new tables, where the diagonal is zero, be interpreted?

---

<div class="post-metadata">

### Author: ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)
#### Post date: [July 5, 2024, 6:26pm UTC](https://help.galaxyproject.org/t/crex-distance-matrix-how-should-the-results-from-the-new-tables-where-the-diagonal-is-zero-be-interpreted/12847/2 "2024-07-05T18:26:55Z")

</div>

Hi @Linno

I’ve closed out the prior discussion at [Compute distance matrix - #9 by Linno](https://help.galaxyproject.org/t/compute-distance-matrix/12517/9) but linking it here for context.

This may still be a work in progress, but @bernt-matthias is the best person to answer. 🙂

---

<div class="post-metadata">

### Author: ![bernt-matthias](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/bernt-matthias/32/502_2.png) [@bernt-matthias](https://help.galaxyproject.org/u/bernt-matthias)
#### Post date: [July 5, 2024, 9:05pm UTC](https://help.galaxyproject.org/t/crex-distance-matrix-how-should-the-results-from-the-new-tables-where-the-diagonal-is-zero-be-interpreted/12847/3 "2024-07-05T21:05:23Z")

</div>

Dear @Linno. The reported values are the just the maximum number of common intervals for a gene order of this length minus the number of common intervals.

The maximum should be n\*(n+1)/2 (or (n-1)\*n/2 for circular) …

I hope that I find the time to implement a flag soon to output the number of intervals … like before .
