[R] Could anyone tell me how to plot a hierarchical clusterin g in a black-white color?

Liaw, Andy andy_liaw at merck.com
Fri Nov 12 00:14:15 CET 2004


Try using the argument col=gray(seq(0, 1, length=64)), or something like
that.

Andy

> From: Frank Duan
> 
> Dear R people,
> 
> I am trying to do a hierarchical clustering to a matrix using
> heatmap() function. But I like to have the plot to display in a
> black-white manner? Could anyone tell me how to do that?
> 
> Thank you.
> 
> Frank
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list