Hi Nils,
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).

Jim


On Wed, Apr 6, 2016 at 9:58 AM, Nils Korte <20406...@student.gla.ac.uk> wrote:
> Hello,
> 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!
> Nils
>
>
> library(GMD)
>
> 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)))
>
> rownames(dat)=c("hsa-miR-200c","hsa-miR-520b","hsa-miR-199a-3p","mmu-miR-124a","hsa-miR-302a","hsa-miR-454","mmu-miR-137")
>
> colnames(dat)=c("24", "72")
>
> heatmap.3(dat, srtCol=70)
>
> ndat<-as.matrix(dat)
>
> heatmap.3(ndat, Rowv=FALSE, Colv=FALSE)
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to