Skip to content
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

Open
jupollet opened this issue Dec 7, 2020 · 4 comments
Open

save featureAlignedHeatmap output to picture file ? #9

jupollet opened this issue Dec 7, 2020 · 4 comments

Comments

@jupollet
Copy link

jupollet commented Dec 7, 2020

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.

@jianhong
Copy link
Owner

jianhong commented Dec 7, 2020

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.

@jupollet
Copy link
Author

jupollet commented Dec 7, 2020

I save the Rdata on the cluster and upload it locally.
featureAlignedHeatmap output perfectely on a rmarkdown chunks in my local Rstudio with the bioconductor version 1.14.4 but totally blank in the classic graph windows. On the cluster, I work with the latest conda version (1.14.4 too ).
Thanks

@MafGal
Copy link

MafGal commented Jan 10, 2025

Dear @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 to save the heatmap plot to pdf?

`
pdf(Fout)
featureAlignedHeatmap(sigs.log2, PksRecntrd,
zeroAt=.5, n.tile=NTILE)
dev.off()

`

@jianhong
Copy link
Owner

jianhong commented Jan 10, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants