[R] heatmap/clustering/corelation/sameorder
Stuart
sbroad00 at gmail.com
Wed Nov 24 11:56:21 CET 2010
Hi
I am trying to make heatmaps first based of QTLs profile only and then
I want to cluster them based on Column only!!!
Expression QTLs heat map
heatmap.2(expression.qtl,Rowv=F,dendrogram="column",trace="none",
distfun = function(c) as.dist(1 - c), density.info="none",
trace="none", cexRow = .65, cexCol = .65, dend = "row")
After clustering QTLs profile I want to see pearson correlation.
Corelation based on Expression QTLs:
heatmap.2(phenotype.cor, symm = TRUE, col = bluered(256),distfun =
function(c) as.dist(1 - c), density.info="none", trace="none", cexRow
= .65, cexCol = .65, dend = "row")
But problem is I,m getting different clustering order but what I want
to have same clustering order for both as I,m using same data. The
only thing in first case I just cluster the trait values and in second
I want to cluster correlation values. How to get consist clustering
among different traits in both cases ???
Thanks in advance for possible help?
More information about the R-help
mailing list