Displaying 1 result from an estimated 1 matches for "heatal".
Did you mean:
heatall
2005 Aug 11
0
easier way to print heatmap on multiple pages?
...split this up into 20 pages, each with 50 rows from the original
heatmap. I want to preserve the row order such that all 20 pages, if
put together, would comprise the original heatmap.
Here's what I've done:
##make the initial heatmap, with all 1000 rows and write it to an
object 'heatAll'
heatAll = heatmap.2(combined.int.top, col = cm.colors(256), trace =
"none")
pdf(file="~/Desktop/Alfalfa-Ladak-StemV3.pdf", width=8, height=12,
pointsize=4)
for(i in 1:20){
selected = heatAll$rowInd[((i-1)*50):((i-1)*50+50)] ##get original
row order in groups of 5...