Desing of phenotypically-driven algoritms for community detection in anatomical networks