Object ccCellGeom will call the function circlize::circos.axis while drawing.
Usage
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 = mm_y(1),
lwd = par("lwd"),
col = par("col"),
labels.col = par("col"),
labels.pos.adjust = TRUE
)
Arguments
- h
Position of the x-axis, can be "top", "bottom" or a numeric value
- major.at
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 isNULL
, about every 10 degrees there is a major tick.- labels
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.
- major.tick
Whether to draw major tick. If it is set to
FALSE
, there will be no minor ticks neither.- labels.font
Font style for the axis labels.
- labels.cex
Font size for the axis labels.
- labels.facing
Facing of labels on axis, passing to
circos.text
- labels.direction
Deprecated, use
facing
instead.- labels.niceFacing
Should facing of axis labels be human-easy.
- direction
Whether the axis ticks point to the outside or inside of the circle.
- minor.ticks
Number of minor ticks between two close major ticks.
- major.tick.length
Length of the major ticks, measured in "current" data coordinate.
convert_y
can be used to convert an absolute unit to the data coordinate.- lwd
Line width for ticks.
- col
Color for the axes.
- labels.col
Color for the labels.
- labels.pos.adjust
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.
Value
Object ccCellGeom