首页 > 解决方案 > 将色谱图保存在基础 R 中

问题描述

我在集群的基础 R 中使用 Chromomap(不使用 Rstudio)。你能告诉我是否可以将地块保存在基础 R 中?

我尝试过这样的事情:

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()

但没有奏效。我认为 chromomap 应该在 Rstudio 中生成 HTML。建议?

标签: htmlr

解决方案


推荐阅读