[BioC] Heatmap : It works Mike great...can we display range (scale) of colors

Saurin Jani saurin_jani at yahoo.com
Tue Nov 16 17:28:51 CET 2004


Hi Mike,

Thanks a lot, it works great now. I still have one
quick question..can we display range of colors or side
barrs or value on bottom of heatmap bar?

thanks again,
Saurin



--- "michael watson (IAH-C)"
<michael.watson at bbsrc.ac.uk> wrote:

> Hi Saurin
> 
> I may be wrong, but it looks like your code
> calculates the euclidean
> distance between rows of 1-cor(), which is itself a
> distance matrix of
> sorts.  Try:
> 
> row.dist <- as.dist(1 - cor(t(esetSub2X)))
> col.dist <- as.dist(1 - cor(esetSub2X))
> heatmap(esetSub2X,
> Colv=as.dendrogram(hclust(col.dist,
> method="average")),
> Rowv=as.dendrogram(hclust(row.dist,
> method="average")))
> 
> Mick
> 
> -----Original Message-----
> From: Saurin Jani [mailto:saurin_jani at yahoo.com] 
> Sent: 15 November 2004 23:28
> To: Bioconductor Bioconductor
> Subject: [BioC] How can I get Heatmap using dChip
> clustering..which is
> nice& easy to see patterns
> 
> 
> Hi ,
> 
> How can I get dChip clustering on heatmap?..which is
> nice & easy to see patterns.
> 
> I am using 1- cor(eset)  but somehow its not working
> I
> am still getting diff. kind of clustering
> dendrogram.
> 
> > d <- dist((1 - cor(esetSub2X)),method =
> "euclidean");
> > dCol <- dist(t((1- cor(esetSub2X))),method =
> "euclidean");
> 
> > heatmap(esetSub2X,Colv=
> as.dendrogram(hclust(d,method = "complete")),Rowv =
> NA,col = rbg,cexRow = 1,cexCol = 1);
> 
> 
> Am I missing something?
> 
> Any heatmap clustering  is helpful.
> 
> Thank you,
> Saurin
> 
> 
> 		
> __________________________________ 
> 
> The all-new My Yahoo! - Get yours free!
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> 



		
__________________________________ 

Meet the all-new My Yahoo! - Try it today!



More information about the Bioconductor mailing list