Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-27T20:55:19.243Z
Answers.LastActivityDate: 2020-07-27T20:55:19.243Z
Answers.UserDisplayName: Jack Gisby
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-24T15:16:38.957Z
Answers.LastActivityDate: 2020-07-24T15:16:38.957Z
Answers.UserDisplayName: Ram RS
Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-27T21:23:48.880Z
Comments.Text: Hi @Jessica you could post the code you have used, however the answers below do appear to have resolved the issue.
Comments.UserDisplayName: M__
Tags: <r><hpc>
Title: no result from heat map WGCNA
ThreadText: # 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 @username_0 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.
  
  
  ---
  
  