[R] Heatmap Colnames
drjimlemon at gmail.com
Wed Apr 6 02:48:49 CEST 2016
I don't have the GMD library, but this looks like some axis labels are
being ignored to avoid overlapping. If heatmap.3 uses base graphics
you can probably get your labels by passing empty strings to heatmap.3
and then displaying the axis with staxlab (plotrix).
On Wed, Apr 6, 2016 at 9:58 AM, Nils Korte <2040684K at student.gla.ac.uk> wrote:
> please see below my code for a heatmap. Unfortunately my column names do not completely appear. Can you please send me the appropriate code to visualise them?
> Many Thanks!
> dat<-data.frame(EntryA=as.numeric(c(4.24,3,1.66,1.28,1.2,-1.32,-1.88)), EntryB=as.numeric(c(4.16,4.82,-1.82,-3.02,0.99,1.1,-3.31)))
> colnames(dat)=c("24", "72")
> heatmap.3(dat, srtCol=70)
> heatmap.3(ndat, Rowv=FALSE, Colv=FALSE)
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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