<p>If you've copied over from some of the WGNCA tutorials you might have additionally copied the sizeGrWindow command - it's caused some of my plots to disappear.</p>
<p>ie:</p>
<pre><code>sizeGrWindow(9,6)  # delete this line
plot(...)
</code></pre>

CC BY-SA 4.0
2020-07-27T20:55:19.243Z
2020-07-27T20:55:19.243Z
Jack Gisby
<p>The plot is probably being drawn to a device that you cannot view on a cluster. If you're using the <code>plotNetworkHeatmap</code> function, say, try something like this:</p>
<pre><code>png(&quot;plot.png&quot;, ...) #specify height, width, etc
plotNetworkHeatmap(....) #call your function
dev.off()
</code></pre>
<p>Now, <code>scp</code> the <code>plot.png</code> file over to your local machine to view the plot.</p>

CC BY-SA 4.0
2020-07-24T15:16:38.957Z
2020-07-24T15:16:38.957Z
Ram RS
<p>I have created a heat map using WGCNA using R. But the heat map command is not showing the plot and there is no error. I have a large number of modules and traits. I am not sure if that is the reason. But I tried making it in HPC R and it still is not showing any result plot. Thank you!</p>

CC BY-SA 4.0
2020-07-27T21:23:48.880Z
Hi @Jessica you could post the code you have used, however the answers below do appear to have resolved the issue.
M__
<r><hpc>
no result from heat map WGCNA
# no result from heat map WGCNA

(Asked by: username_0 on 2020-07-24)

I have created a heat map using WGCNA using R. But the heat map command is not showing the plot and there is no error. I have a large number of modules and traits. I am not sure if that is the reason. But I tried making it in HPC R and it still is not showing any result plot. Thank you!

**Tags:** r, hpc
> **Comments:**
> **username_1**: Hi @Jessica you could post the code you have used, however the answers below do appear to have resolved the issue.  

---

## 2 answers

### Answer by username_2 on 2020-07-27. Score: 1

If you've copied over from some of the WGNCA tutorials you might have additionally copied the sizeGrWindow command - it's caused some of my plots to disappear.
ie:
sizeGrWindow(9,6)  # delete this line
plot(...)


---

### Answer by username_3 on 2020-07-24. Score: 1

The plot is probably being drawn to a device that you cannot view on a cluster. If you're using the plotNetworkHeatmap function, say, try something like this:
png("plot.png", ...) #specify height, width, etc
plotNetworkHeatmap(....) #call your function
dev.off()

Now, scp the plot.png file over to your local machine to view the plot.


---

