Description Usage Details References Examples
Get current chromosome name
1 |
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.