Skip to contents

Object ccCellGeom will call the function circlize::circos.polygon while drawing.

Usage

ccPolygon(...)

Arguments

...

Arguments passed on to circlize::circos.polygon

x

Data points on x-axis

y

Data points on y-axis

sector.index

Index for the sector

track.index

Index for the track

Value

Object ccCellGeom

Examples

library(circlizePlus)
cc=ccPlot(sectors=letters[1:8], xlim = c(0, 1))
track=ccTrack(ylim = c(0, 10))
cell=ccCell(sector.index = 'a')+ccPolygon(x=c(0.5,0.7,1),y=c(2,6,8))
track=track+cell
cc+track