Learn R Programming

circlize (version 0.4.13)

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 = mm_h(2),
    track.margin = circos.par("track.margin"))

Arguments

cytoband

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

species

Abbreviations of the genome, 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