ccGenomicIdeogram: Define an ideograms track for genomic graph

View source: R/track.R

ccGenomicIdeogramR Documentation

Define an ideograms track for genomic graph

Description

Object ccGenomicTrack will call the function circlize::circos.genomicIdeogram while drawing.

Usage

ccGenomicIdeogram(
  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.

Value

Object ccGenomicTrack

Examples


library(circlizePlus)
cc = ccPlot(initMode = "initializeWithIdeogram",chromosome.index = "chr1", plotType = NULL)
human_cytoband = read.cytoband(species = "hg19")$df
t2=ccGenomicIdeogram(human_cytoband)
cc+t2
circos.clear()


circlizePlus documentation built on June 8, 2025, 10:42 a.m.