Displaying 1 result from an estimated 1 matches for "xsort".
Did you mean:
sort
2009 Mar 17
1
Adding labels to heatmaps from image()
...to the rows of a heatmap produced using image() function. It is simply not working. Here is what I did.
A2Rplot.hclust(hcc,k=length(num),col.up="black",col.down=num,lty.up=2,lty.down=1,lwd.up=1,lwd.down=2,show.labels=FALSE)
#used the above external program to create a colored dendrogram
xsort <- x[1:nrow(x), hcc$labels[hcc$order]]
go<-genes[hc$order]
image(scale(t(xsort)), col=greenred(60),xaxt="n", yaxt="n")
di <- dim(x)
nr<-di[1]
nc<-di[2]
axis(4, 1:nr, labels=go, las= 2, line= 0, tick=TRUE, cex.axis= 2)
The output pdf I get is attached in this mail...