tree and heatmap
1
0
Entering edit mode
4.9 years ago

I want to plot a tree and heatmap. the input is a distance matrix. I plot a tree using NJ. I used ggtree to plot it. The order of tree and the order of heatmap is not consistent. Is there any option to set the matrix to be symmetry ? Thank you.

ggtree • 1.0k views
ADD COMMENT
1
Entering edit mode
4.9 years ago

The heatmap() function can take custom dendrograms for rows and columns, check the Rowv and Colv parameters.

ADD COMMENT

Login before adding your answer.

Traffic: 3062 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6