how to save TOMplot into a pdf/png file
I am using WGCNA library and wonder how I can write the result of TOMplot into a file which format and function is appropriate. I have used pdf command and dev.off() but the resulting file was empty.
• 2,144 views
•
link
1 answer
I used png instead of pdf and increased the size of the page and worked out
• 0 views
•
link
Log in to answer this question.
can you post the chunk of code used to export the TOMplot as pdf file?
Hi,
I'm not familiar with the
TOMplot()function, but based on the online description it seems to return an heatmap (see link).Does the function
TOMplot()returns a plot in R without usingpdf()anddev.off()? If so, then the problem seems related with the way that you're saving the result. If not, then the problem is the input that you're giving to the function.You may want to try the following:
Let me know if this worked,
António