sorry, typo:

> heatmap.2(x,col=colorRampPalette(c("blue","lightblue","darkgray","darkgray","yellow","red"),space="Lab"),at=c(-6.01,6.01,51))
> heatmap.2(x,col=c("blue","lightblue","darkgray","black","darkgray","yellow","red"),at=-3:3*2)


should be read as

heatmap.2(x,col=colorRampPalette(c("blue","lightblue","darkgray","darkgray","yellow","red")),breaks=seq(-6.01,6.01,length.out=51))
heatmap.2(x,col=c("blue","lightblue","darkgray","darkgray","yellow","red"),breaks=-3:3*2)

"at" from stats:heatmap became "breaks" in gplots:heatmap.2

______________________________________________
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