Skip to contents

S4 class ccPlot

Slots

initMode

character. It can only be the following values: "initialize", "genomicInitialize", "initializeWithIdeogram", "heatmap.initialize".

initParams

list. A named list that stores the parameters of the function called by the backend. Based on the value of initMode, the backend function will be one of the following four:circlize::circos.initialize, circlize::circos.genomicInitialize, circlize::circos.initializeWithIdeogram, circlize::circos.heatmap.initialize.

tracks

list. A list where ccTrack or ccGenomicTrack or ccHeatmap are stored.

links

list. A list where ccLink or ccGenomicLink or ccHeatmapLink are stored.

pars

list. A list where ccPar are stored.

clear

logical. Whether to call circlize::circos.clear after drawing.

Examples

n = 1000
df = data.frame(sectors = sample(letters[1:8], n, replace = TRUE),
                x = rnorm(n), y = runif(n))
library(circlizePlus)
cc=ccPlot(initMode = 'initialize', sectors = df$sectors, x = df$x)