[Rd] Row labels are skewed in 'heatmap' (PR#7358)

ligges at statistik.uni-dortmund.de ligges at statistik.uni-dortmund.de
Thu Nov 11 14:51:18 CET 2004


pfh at cbs.dtu.dk wrote:
> Full_Name: Peter Fischer Hallin
> Version: Version 1.8.1
> OS: Irix64
> Submission from: (NULL) (130.225.67.236)
> 
> 
> I've made a script look like this:
>  exp <- read.table("graph/1933672048.cluster.data")
>  exp <- as.matrix(exp) 
>  postscript("graph/1933672048.cluster.data.ps") 
>  heatmap(exp,scale="none",cexCol=0.4,cexRow=0.2,col=custom,margins=c(5,5))
> 
> The row labels on the output PostScript file are skewed vertically downwards -
> in fact more than the height of 2 rows! I have roughly 200 rows and 4 columns in
> my dataset. It is therefor very difficult to see which label goes to which row

Please read how to report bugs. In particular, please don't report bugs 
of outdated R versions!

I guess the bug has been fixed by a couple of changes how text in 
margins is drawn. Please try R-2.0.1 beta and tell us whether the bug is 
still persistent. In that case, please provide a simple reproducible 
example (we cannot reproduce the example above!).

Uwe Ligges



More information about the R-devel mailing list