get.current.chromosome: Get current chromosome name

Description Usage Details References Examples

Description

Get current chromosome name

Usage

1

Details

The function is same as get.current.sector.index and should only be put inside panel.fun when using circos.genomicTrackPlotRegion.

References

Gu, Z. (2014) circlize implements and enhances circular visualization in R. Bioinformatics.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(circlize)
circos.initializeWithIdeogram()
circos.genomicTrackPlotRegion(ylim = c(0, 1), panel.fun = function(region, value, ...) {
    print(get.current.chromosome())
})
circos.clear()

## End(Not run)

eilslabs/circlize documentation built on May 16, 2019, 1:23 a.m.