The heatmap() function has been followed up by other packages that follow a similar syntax but extend its capabilities. Try heatmap.2() and heatmap.3() in the gplots package. A heatmap.2() plot can be seen in the following histogram. It's very similar to heatmap(), but has an added color key and histogram plot by default: