[R] heatmap.2 problem
ligges at statistik.tu-dortmund.de
Sun Jan 13 18:04:09 CET 2013
On 12.01.2013 23:40, Peter Davidsen wrote:
> Dear List,
> I'm trying to generate a simple heatmap that has each row and column
> separated by a black line. However, for some reason this only happens
> for the first and last color. The middle color in my colorpanel()
> command has an addition horizontal and vertical line that I would like
> to get rid off. Any suggestions?
> #my code below
> my.matrix <- cbind(func.1 = c(1,2,2,1,1,3,1,2,3,1,1,2,2,3,1), func.2 =
> mycol <- colorpanel(n=3,"green","grey","red")
Error: could not find function "colorpanel"
Your code is not reproducible.
> heatmap.2(my.matrix,Rowv=FALSE, Colv="Rowv", col=mycol, trace="both",
> tracecol="black", key=FALSE, symm=FALSE, vline=NULL, hline=NULL)
> Kind regards,
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help