Save chromomap plots in base R

Viewed 48

I am using Chromomap in base R in a cluster (not with Rstudio). Could you please tell me if It is possible to save the plots in base R?

I tried with something like this:

library(chromoMap)
jpeg("CHR.jpg", width=4000, height= 6000)
chromoMap("chromosome_file.txt","anno.txt", data_based_color_map = T, data_type = "numeric")
dev.off()

But didn´t work. I think that chromomap is supposed to produce an HTML in Rstudio. Suggestions?

0 Answers
Related