ccPolygon {circlizePlus} | R Documentation |
Draw polygon
Description
Object ccCellGeom will call the function circlize::circos.polygon while drawing.
Usage
ccPolygon(x = NULL, y = NULL, ...)
Arguments
x |
Data points on x-axis |
y |
Data points on y-axis |
... |
pass to |
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
[Package circlizePlus version 0.9.1 Index]