title: R language - heat maps
body: <p>I'm trying to build a heat map using R. I have a matrix of values (percentage) like:</p>
  
  <pre><code>&lt;p&gt;0 5 0 0 25 30&lt;/p&gt;
  &lt;p&gt;0 0 0 10 0 0&lt;/p&gt;
  &lt;p&gt;10 15 65 65 70&lt;/p&gt;
  </code></pre>
  
  <p>and so on.
  What I want to get - a heat map where the same values (across the whole matrix) would be represented by the same colour. But I still get a map where the colour for the zero value in the first row differs from the colour for the zero value in the second row etc.
  Command that I used to build a heat map is:</p>
  
  <pre><code>my_heatmap &lt;- heatmap(my_heat_matrix, Rowv=NA, Colv=NA, col = colors_01, margins=c(5,10))
  </code></pre>
  
  <p>UPD: Sorry, I found an answer.</p>