Remove row and column names - heatmap.2
<p>I am drawing a heatmap and I do not want the row names and column names to be visible on x and y axes.</p>

<p>So I used the following code:</p>

<pre><code>heatmap.2(data, xlab="PROTEINS", ylab="DRUGS", labRow=FALSE, labCol = FALSE)
</code></pre>

<p>Then there is a big space between heatmap and <code>PROTEINS</code> and <code>DRUGS</code> labels on each axis.</p>