# HeatMAp hclust s\_dist\_f & f\_Dist\_s option

**URL:** <https://forum.biobakery.org/t/heatmap-hclust-s-dist-f-f-dist-s-option/2230>\
**Category:** MetaPhlAn\
**Created:** [June 10, 2021, 7:43am UTC](https://forum.biobakery.org/t/heatmap-hclust-s-dist-f-f-dist-s-option/2230 "2021-06-10T07:43:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saras22](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@saras22](https://forum.biobakery.org/u/saras22)\
**Post date:** [June 10, 2021, 7:43am UTC](https://forum.biobakery.org/t/heatmap-hclust-s-dist-f-f-dist-s-option/2230/1 "2021-06-10T07:43:39Z")

</div>

Hi @fbeghini  
I have made Heatmap using Hclust2.py script of your software but I want to know the meaning of the options S\_dist\_f and f\_dist\_s where we have to select from the 3 available options which are euclidian, braycurtis and correlation. I am attaching image of the Heatmap that I created, I request you to give a little explanation how can I create a meaningfull Hmap using these options? I wanted the Blue and red blocks that I took as metadata(surface type) to cluster together which I do not see happening here, I was wondering that is because I have selected the wrong distance options. I hope that I am able to explain my problem to you clearly.  
One more thing I want to ask is that there is a flag -ftop n which gives the top n number of features in the heatmap but if I want the top 100 features/clades with their abundances in the form of a profile.txt file then for that, is there any method?

Thanks  
Saraswati

 ![edit_biobak_upload](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/1X/520ecb6a0ed64c25b79d92d6a546e7379094a7c6.png)
