Re: [R] Attempting to make a custom color spectrum to use inheatmap.2

2008-08-07 Thread Daniel Bernstein
Thanks everyone for the great responses! The col = c("grey", "black", rainbow(50) ) idea was the easiest for me to figure out how to implement, but the others look like the can do what I want as well. Thanks so much for the help! Regards, Daniel Warnes, Gregory R. wrote: You can assemble

[R] Attempting to make a custom color spectrum to use in heatmap.2

2008-08-06 Thread Daniel Bernstein
Hello there! I'd just like to say in advance, "Thank you," for any help and/or advice. My problem is as follows: I have a dataset that is made up of percentages. I've assigned my "error" percentages a value of '-100', my "non-existent" percentages a value of '0', and all my other percentages