Heatmap in R - bray curtis

Hi,

I would like to do a heatmap in R where my clustering_distance_rows is based on bray curtis distances. I am using pheatmap.

Anyone knows how to do it?

Good place to start, there are a lot of heatmap packages in R. Where you go with it, will depend which package you like. We transitioned from heatmap.2 to pheatmap. Your data or comfort level with R will dictate where you go. Ben

Actually, I realized that we had published some heatmap code. Although, this code takes a QIIME1 biom file, it should be ok if you can upload a QIIME2 biom file into it. Try it here:

1 Like

Yes, i am using pheatmap. I was using relative frequencies to do a heatmap but i would like to try to do with bray curtis distances.