This is a test version of Biostars. For the public version, visit https://www.biostars.org.
High Resolution Autoplot Function In R Studio

I get one good plot with autoplot function in R studio. If I click in zoom a get a expected picture of my plot. However i would like to export in high resolution. This was my last command.

autoplot(bed, layout = "karyogram", aes(color = score, fill = score), res = 1200)

Thank you.

There was no reply too! sorry

Closing this one; it's a question about basic R usage, not bioinformatics.

1 answer

png("plot.png",20,20, units="cm", res=300)
autoplot(...)
dev.off()

This saves your plot to a high resolution png file in your working directory

Log in to answer this question.