title: R draw heatmap with clusters, but hide dendrogram
body: <p>By default, R's <code>heatmap</code> will cluster rows and columns:</p>
  
  <pre><code>mtscaled = as.matrix(scale(mtcars))
  heatmap(mtscaled, scale='none')
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/2CsAw.png" alt="enter image description here"></p>
  
  <p>I can disable the clustering:</p>
  
  <pre><code>heatmap(mtscaled, Colv=NA, Rowv=NA, scale='none')
  </code></pre>
  
  <p>And then the dendrogram goes away:<img src="https://i.stack.imgur.com/EbjET.png" alt="enter image description here"></p>
  
  <p>But now the data is not clustered anymore.</p>
  
  <p>I don't want the dendrograms to be shown, but I still want the rows and/or columns to be clustered. How can I do this?</p>
  
  <p>Example of what I want:<img src="https://i.stack.imgur.com/uHAly.png" alt="enter image description here"></p>