Re: [R] heatmap and continuous variable

From: Gregory Warnes <>
Date: Tue, 24 Jun 2008 21:05:56 -0400

Hello Hans,

Do you need *both* a categorical *and* a continuous variable, or just a continuous variable?


On 6/24/08 4:51PM , "Hans-Ulrich Klein" <> wrote:

> Dear All,
> I want to plot a heat map with annotated columns. Both functions heatmap
> (stats) and heatmap.2 (gplots) can plot a horizontal side bar that can
> be used to visualize a categorical variable. In addition to a
> categorical variable, I would like to visualize a continuous variable.
> This could be done by small bars, a curve or simply numbers above the
> columns. (The Sample names are already located at the bottom.)
> Does someone have example code for this or a similar problem? Is this so
> special that I have to get down to the lattice package?
> Thank you,
> Hans-Ulrich

Gregory R. Warnes, Ph.D
Program Director
Center for Computational Arts, Sciences, and Engineering
University of Rochester

Tel: 585-273-2794
Fax: 585-276-2097

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 25 Jun 2008 - 01:15:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 Jun 2008 - 08:31:01 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive