[R] heatmap

David Winsemius dwinsemius at comcast.net
Sun May 13 18:46:33 CEST 2012


On May 13, 2012, at 11:23 AM, li li wrote:

> Dear all,
>   I have a data set which is 100 \times 100 matrix.
> I made a heatmap of the data. The xlim and ylim
> are both shown to be c(0,1). I want to make both the
> xlim and ylim to be c(0,100). So the heatmap correspond to
> the 100 \times 100 locations.

So just suppress the x and y tick marks and then use axis() to label  
as desired.


>  Thank you.
>    Hannah
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list