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@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.

Reply via email to