Object ccCellGeom will call the function circlize::circos.axis while drawing.
ccXaxis(
h = "top",
major.at = NULL,
labels = TRUE,
major.tick = TRUE,
labels.font = par("font"),
labels.cex = par("cex"),
labels.facing = "inside",
labels.direction = NULL,
labels.niceFacing = TRUE,
direction = c("outside", "inside"),
minor.ticks = 4,
major.tick.length = NULL,
lwd = par("lwd"),
col = par("col"),
labels.col = par("col"),
labels.pos.adjust = TRUE
)Object ccCellGeom
Position of the x-axis, can be "top", "bottom" or a numeric value
If it is numeric vector, it identifies the positions of the major ticks. It can exceed xlim value and the exceeding part would be trimmed automatically. If it is NULL, about every 10 degrees there is a major tick.
labels of the major ticks. Also, 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.
Whether to draw major tick. If it is set to FALSE, there will be no minor ticks neither.
Font style for the axis labels.
Font size for the axis labels.
Facing of labels on axis, passing to circos.text
Deprecated, use facing instead.
Should facing of axis labels be human-easy.
Whether the axis ticks point to the outside or inside of the circle.
Number of minor ticks between two close major ticks.
Length of the major ticks, measured in "current" data coordinate. convert_y can be used to convert an absolute unit to the data coordinate.
Line width for ticks.
Color for the axes.
Color for the labels.
Whether to adjust the positions of the first label and the last label so that the first label align to its left and the last label align to its right if they exceed the range on axes. The value can be a vector of length two which correspond to the first label and the last label.
library(circlizePlus)
cc <- ccPlot(sectors = letters[1:8], xlim = c(0, 1))
track <- ccTrack(ylim = c(0, 10))
cell <- ccCell(sector.index = "a") + ccXaxis()
track <- track + cell
cc + track
Run the code above in your browser using DataLab