-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save featureAlignedHeatmap output to picture file ? #9
Comments
Could you share me the data to repeat your issue? And That function is using grid but not ggplot. So ggsave will not work. Jianhong. |
I save the Rdata on the cluster and upload it locally. |
Dear @jianhong , I also do not find a way to save a featureAlignedHeatmap plot to pdf. How to save the heatmap plot to pdf? ` ` |
If you are not in the interactive mode, please try to add something like this
```{r}
pdf(Fout)
grid.draw(featureAlignedHeatmap(sigs.log2, PksRecntrd,
zeroAt=.5, n.tile=NTILE))
dev.off()
```
Let me know if it doesn't work.
Jianhong.
From: Mafalda Galhardo ***@***.***>
Date: Friday, January 10, 2025 at 6:34 AM
To: jianhong/ChIPpeakAnno ***@***.***>
Cc: JIANHONG OU ***@***.***>, Mention ***@***.***>
Subject: Re: [jianhong/ChIPpeakAnno] save featureAlignedHeatmap output to picture file ? (#9)
Dear @jianhong<https://github.com/jianhong> ,
Very nice tool, thank you!
I also do not find a way to save a featureAlignedHeatmap plot to pdf.
Have also tried svg, jpeg or png but all files appear white.
How the save the heatmap plot to pdf?
`
pdf(Fout)
featureAlignedHeatmap(sigs.log2, PksRecntrd,
zeroAt=.5, n.tile=NTILE)
dev.off()
`
—
Reply to this email directly, view it on GitHub<#9 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABLBEA34KBFPIQF2GUHSIWL2J6V6FAVCNFSM6AAAAABU6F3D5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBSGQ4TQNBVGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi,
I don't find how to save featureAlignedHeatmap output to a picture file.
I try the method with png function followed by the featureAlignedHeatmap command and dev.off() but the image is white.
I also try ggsave but there are only legend and track but no heatmaps.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: