A new approach to hierarchical clustering for the analysis of genomic data