I used heatmap.2 in R, to create a heatmap. I used the following command :
heatmap.2(as.matrix(mat_data), density.info="none", trace="none", margins =c(12,9), col=my_palette, breaks=seq(96,100,0.5), dendrogram="both")
What is the method used by the heatmap.2 for dendrogram generation? Is it hclust()
? If so, what metric (euclidean or manhattan distance) does it use for default, since I have used default parameters in the above command.
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.