R: Add genomic axes

circos.genomicAxis {circlize} | R Documentation

## Add genomic axes

### Description

Add genomic axes

### Usage

    circos.genomicAxis(h = "top", major.by = NULL, tickLabelsStartFromZero = TRUE,
        labels.cex = 0.4*par("cex"), sector.index = get.cell.meta.data("sector.index"),
        track.index = get.cell.meta.data("track.index"), ...)

### Arguments

`h` | Position of the axes. "top" or "bottom".
`major.by` | Increment of major ticks. It is calculated automatically if the value is not set (about every 10 degrees there is a major tick).
`tickLabelsStartFromZero` | Whether axis tick labels start from 0? This will only affect the axis labels while not affect x-values in cells.
`labels.cex` | the font size for the axis tick labels.
`sector.index` | Index for the sector
`track.index` | Index for the track
`...` | Other arguments pass to `circos.axis`.

### Details

It assigns proper tick labels under genomic coordinate.

### Examples

    circos.initializeWithIdeogram(plotType = NULL)
    circos.track(ylim = c(0, 1), panel.fun = function(x, y) circos.genomicAxis())
    circos.clear()

[Package circlize version 0.4.5 Index]