ccLines | R Documentation |
Object ccCellGeom will call the function circlize::circos.lines while drawing.
ccLines(
x = NULL,
y = NULL,
col = ifelse(area, "grey", par("col")),
lwd = par("lwd"),
lty = par("lty"),
type = "l",
straight = FALSE,
area = FALSE,
area.baseline = NULL,
border = "black",
baseline = "bottom",
pt.col = par("col"),
cex = par("cex"),
pch = par("pch")
)
x |
Data points on x-axis, measured in "current" data coordinate. |
y |
Data points on y-axis, measured in "current" data coordinate. |
col |
Line color. |
lwd |
Line width. |
lty |
Line style. |
type |
Line type, similar as |
straight |
Whether draw straight lines between points. |
area |
Whether to fill the area below the lines. If it is set to |
area.baseline |
deprecated, use |
border |
color for border of the area. |
baseline |
The base line to draw areas. By default it is the minimal of y-range (bottom). It can be a string or a number. If a string, it should be one of |
pt.col |
If |
cex |
If |
pch |
If |
Object ccCellGeom
library(circlizePlus)
sectors <- letters[1:9]
par <- ccPar(points.overflow.warning = FALSE)
cc <- ccPlot(sectors = sectors, xlim = c(0, 10))
cc <- cc + par
track <- ccTrack(sectors = sectors, ylim = c(0, 10), track.height = 0.5)
cells <- ccCell(sector.index = "a") + ccLines(sort(x = runif(10) * 10), y = runif(10) * 10)
track <- track + cells
cc + track
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.