ccRect {circlizePlus} | R Documentation |
Draw rectangle in a region
Description
Object ccCellGeom will call the function circlize::circos.rect while drawing.
Usage
ccRect(xleft = NULL, ybottom = NULL, xright = NULL, ytop = NULL, rot = 0, ...)
Arguments
xleft |
x for the left bottom points |
ybottom |
y for the left bottom points |
xright |
x for the right top points |
ytop |
y for the right top points |
rot |
Rotation of the rectangles. The value is measured clockwise in degree. Rotation is relative to the center of the rectangles. |
... |
pass to |
Value
Object ccCellGeom
Examples
library(circlizePlus)
cc <- ccPlot(sectors = letters[1:8], xlim = c(0, 1))
track <- ccTrack(ylim = c(0, 1), track.height = 0.3)
cell <- ccCell(sector.index = "a") + ccRect(xleft = 0.7, ybottom = 0.1, xright = 0.8, ytop = 0.9)
track <- track + cell
cc + track
[Package circlizePlus version 0.9.1 Index]