powered by
Add an ideogram track
circos.genomicIdeogram( cytoband = system.file(package = "circlize", "extdata", "cytoBand.txt"), species = NULL, track.height = convert_height(2, "mm"), track.margin = circos.par("track.margin"))
a data frame or a file path, pass to read.cytoband
read.cytoband
Abbreviations of species, pass to read.cytoband
height of the ideogram track
margins for the track
https://jokergoo.github.io/circlize_book/book/high-level-genomic-functions.html#ideograms
# NOT RUN { circos.initializeWithIdeogram(plotType = c("labels", "axis")) circos.track(ylim = c(0, 1)) circos.genomicIdeogram() # put ideogram as the third track # }
Run the code above in your browser using DataLab