thanks, I think I got the color ranges down, however, I just realized that the colors don't match the data. When I execute: grad <- ifelse(randMat > 5,yelPal,ifelse(randMat<1.5,redPal,bluPal)) the grad matrix contains the correct hex codes corresponding to the randMat data matrix but when I run:
heatmap(randMat, Rowv=NA, Colv=NA, col = grad, scale="none", margins=c(5,10)) The colors displayed don't match up. I'm not sure if it's re-ordering the data somehow but I'm not getting any warning or errors and can't find any similiar postings. -- View this message in context: http://n4.nabble.com/heatmap-2-color-range-tp1293498p1311023.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.