ccSegments | R Documentation |
Object ccCellGeom will call the function circlize::circos.segments while drawing.
ccSegments(
x0 = NULL,
y0 = NULL,
x1 = NULL,
y1 = NULL,
straight = FALSE,
col = par("col"),
lwd = par("lwd"),
lty = par("lty"),
...
)
x0 |
x coordinates for starting points. |
y0 |
y coordinates for ending points. |
x1 |
x coordinates for starting points. |
y1 |
y coordinates for ending points. |
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. |
... |
Pass to |
Object ccCellGeom
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.