[R] heatmap plot
Michael Knudsen
micknudsen at gmail.com
Mon Jul 20 18:02:16 CEST 2009
2009/7/20 Markus Mühlbacher <muehliman at yahoo.com>:
> What is my mistake?
I don't know about the heatmap function, but I have often used 'image'
with 'heat.colors' without any problems. There is a nice example here:
http://addictedtor.free.fr/graphiques/graphcode.php?graph=20
It should be fairly easy to fit your data into that one. I guess that
this should work:
x = 1:length(activity.matrix)
y = 1:length(activity.matrix)
image(x, y, activity.matrix, col=heat.colors(100))
--
Michael Knudsen
micknudsen at gmail.com
http://lifeofknudsen.blogspot.com/
More information about the R-help
mailing list