Hi,

I wanted to draw a heatmap with some horizontal lines. For example:

#------ code ------
mat <- matrix(-1:1,7,9)
heatmap.2(mat,Rowv=NA,trace = 'none',key=F)

#----end code -----

In this heatmap, I want to subgroup the rows. For instance, I would like to group rows 5,6 & 7 together, and would draw a black line between rows 4 & 5 to demarcate the group. Similarly, I want to group rows 3 & 4 in one group, and would like to put a black line between rows 2 & 3.

I guess I'm looking for the 'hline' parameter or something, but couldn't find it in the documentation.

Any help would be appreciated!



      
	[[alternative HTML version deleted]]


