Use of similarity metrics aiming to identify groupings of entities with clinical and biological significance