Skip to contents

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

Usage

ccSegments(...)

Arguments

...

Arguments passed on to circlize::circos.segments

x0

x coordinates for starting points.

y0

y coordinates for ending points.

x1

x coordinates for starting points.

y1

y coordinates for ending points.

sector.index

Index for the sector.

track.index

Index for the track.

straight

Whether the segment is a straight line.

col

Color of the segments.

lwd

Line width of the segments.

lty

Line type of the segments.

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')+ccSegments(x0=0.7,y0=0.1,x1=0.7,y1=0.9)
track=track+cell
cc+track