Thanks Matthias! Exactly what I was looking for.
Paul
From: Matthias Kohl
Cc: r-h...@stat.math.ethz.ch
Sent: Wednesday, May 6, 2009 2:06:22 PM
Subject: Re: [R] Heatmap: draw horizontal line
Is
heatmap.2(mat,Rowv=NA,trace = 'none',key=F, add.expr
Is
heatmap.2(mat,Rowv=NA,trace = 'none',key=F, add.expr = abline(h =
c(3.5,5.5), lwd = 3))
what your are looking for?
hth,
Matthias
Paul Evans schrieb:
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
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
3 matches
Mail list logo