| get.current.chromosome {circlize} | R Documentation |
Get current chromosome name
get.current.chromosome()
The function is same as get.current.sector.index and
should only be put inside panel.fun when using circos.genomicTrackPlotRegion.
Gu, Z. (2014) circlize implements and enhances circular visualization in R. Bioinformatics.
## 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)