参考链接:https://cran.r-project.org/web/packages/RIdeogram/vignettes/RIdeogram.html
安装R包
install.packages("devtools") library(devtools) devtools::install_github("TickingClock1992/RIdeogram") library(RIdeogram)
密度可视化
ideogram(karyotype = human_karyotype, overlaid = gene_density,output = 'chromosome_genedensity_3.svg')
结构可视化
ideogram(karyotype = human_karyotype, overlaid = gene_density,output = 'chromosome_genedensity_3.svg')
两组数据可视化
ideogram(karyotype = karyotype, overlaid = density.CG, label = density.TE, label_type = "heatmap", colorset1 = c("#f7f7f7", "#e34a33"), colorset2 = c("#f7f7f7", "#2c7fb8"))