Skip to contents

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

Usage

ccRect(...)

Arguments

...

Arguments passed on to circlize::circos.rect

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

sector.index

Index for the sector

track.index

Index for the track

rot

Rotation of the rectangles. The value is measured clockwise in degree. Rotation is relative to the center of the rectangles.

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