Displaying 1 result from an estimated 1 matches for "clusteredmatrixasdendrogram".
2004 Oct 20
0
heatmap.2 ordering & color key
...ndrogram I want
appearing at the top of the heatmap
If I use either of these orders the ordering works:
order <- c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24)
order2 <- c(24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1)
using the command:
heatmap.2(tmatrix, clusteredmatrixasdendrogram, col=bluered600,
dendrogram="column", scale="none", trace="none", Rowv=order)
however If I start mixing the numbers up e.g:
order3 <- c(1,4,7,10,2,5,8,11,3,6,9,12,13,16,19,22,14,17,20,23,15,18,21,24)
or
order4 <- c(24,21,18,15,23,20,17,14,22,19,16,13,12,9,6,3,1...