[R] heatmap
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Mon Oct 8 13:34:36 CEST 2007
If you just want a coloured representation of your distance matrix, use image()
?image()
If you want to cluster your original data and show the original data (not the distances) as a heatmap then use heatmap(), but you should use something like hclust() to cluster the data first.
________________________________
From: r-help-bounces at r-project.org on behalf of Andreas Gruber
Sent: Mon 08/10/2007 12:28 PM
To: r-help at r-project.org
Subject: [R] heatmap
Hi,
I am having troubles with heatmap(). I have a matrix containing pairwise
distance values and I want to plot this matrix with heatmap. I wonder
now what distfun is for. Is a distance matrix computed from my initial
matrix again and then plotted?
cheers,
andreas
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list