[R] Two Colored Heatmap

From: dinesh kumar <barupal_at_gmail.com>
Date: Mon, 14 Apr 2008 13:32:36 -0700


Hi All

I have matrix Like:-

                  10       20         40      60     100
Glucose      UP      Down     UP     No     UP
Fructose     UP      UP         Down UP     No
Sucrose      UP      Down     UP     No     Down
Taurine       No       No         No     No      UP
Cellobiose   Up       No        Up     Down   No
Trehalose    No       Up        Up      Down   Up

First raw and first column are labels. Each column present a condition. I want to create a heatmap which colored UP = RED, Down= Blue and No= White.

Thanks in Advance.

Dinesh

-- 
Dinesh Kumar Barupal
Research Associate
Metabolomics Fiehn Lab
UCD Genome Center
451 East Health Science Drive
GBSF Builidng
University of California
DAVIS
95616
http://fiehnlab.ucdavis.edu/staff/kumar

	[[alternative HTML version deleted]]

______________________________________________
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.
Received on Mon 14 Apr 2008 - 20:46:10 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 Mon 14 Apr 2008 - 21:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive