title: heatmap2 lmat,lhei, lwid parameters?
body: <p>I'm trying to make a heat map with dendrogram in R. I'm also trying to make it so that the color matrix is on the bottom of the heat map. i understand that I would have to change the value of lmat for this. So far I have something like this for lmat.</p>
  
  <pre><code> lmat=rbind(c(0,3,0), c(2,1,0), c(0,4,0)).
  </code></pre>
  
  <p>After I run it, it asks me to update the lhei and lwid values. After looking at the documentation, I understand that these are vectors for column width and row height. But I don't understand the multiple values needed for their values. For ex, when I set this , I get this error.</p>
  
  <pre><code>  lhei must have length = nrow(lmat) = 3
  </code></pre>
  
  <p>I'm not sure what the three values for lhei would correspond to. This leads me to a broader question, what does each value in the vectors for lhei and lwid correspond to?</p>