Skip to contents

Object ccCellGeom will call the function circlize::circos.axis while drawing.

Usage

ccXaxis(...)

Arguments

...

Arguments passed on to circlize::circos.axis

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 is NULL, 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.

sector.index

Index for the sector.

track.index

Index for the track.

labels.font

Font style for the axis labels.

labels.cex

Font size for the axis labels.

labels.direction

Deprecated, use facing instead.

labels.facing

Facing of labels on axis, passing to circos.text

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.

major.tick.percentage

Not used any more, please directly use major.tick.length.

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

Examples

library(circlizePlus)
cc=ccPlot(sectors=letters[1:8], xlim = c(0, 1))
track=ccTrack(ylim = c(0, 10))
cell=ccCell(sector.index = 'a')+ccXaxis(sector.index = "a")
track=track+cell
cc+track