ccYaxis | R Documentation |
Object ccCellGeom will call the function circlize::circos.yaxis while drawing.
ccYaxis(
side = c("left", "right"),
at = NULL,
labels = TRUE,
tick = TRUE,
labels.font = par("font"),
labels.cex = par("cex"),
labels.niceFacing = TRUE,
lwd = par("lwd"),
col = par("col"),
labels.col = par("col")
)
side |
add the y-axis on the left or right of the cell |
at |
If it is numeric vector, it identifies the positions of the ticks. It can exceed |
labels |
labels of the ticks. The exceeding part would be trimmed automatically. The value can also be logical (either an atomic value or a vector) which represents which labels to show. |
tick |
Whether to draw ticks. |
labels.font |
font style for the axis labels |
labels.cex |
font size for the axis labels |
labels.niceFacing |
Should facing of axis labels be human-easy |
lwd |
line width for ticks |
col |
color for the axes |
labels.col |
color for the labels |
Object ccCellGeom
library(circlizePlus)
cc <- ccPlot(sectors = letters[1:8], xlim = c(0, 1))
track <- ccTrack(ylim = c(0, 10))
cell <- ccCell(sector.index = "a") + ccYaxis(side = "left")
track <- track + cell
cc + track
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.