Learn R Programming

circlize (version 0.4.10)

circos.genomicIdeogram: Add an ideogram track

Description

Add an ideogram track

Usage

circos.genomicIdeogram(
    cytoband = system.file(package = "circlize", "extdata", "cytoBand.txt"),
    species = NULL,
    track.height = convert_height(2, "mm"),
    track.margin = circos.par("track.margin"))

Arguments

cytoband

a data frame or a file path, pass to read.cytoband

species

Abbreviations of species, pass to read.cytoband

track.height

height of the ideogram track

track.margin

margins for the track

See Also

https://jokergoo.github.io/circlize_book/book/high-level-genomic-functions.html#ideograms

Examples

Run this code
# 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