# NOT RUN {
circos.par("track.height" = 0.1, cell.padding = c(0, 0, 0, 0))
circos.initializeWithIdeogram(plotType = NULL)
bed = generateRandomBed(nr = 20)
circos.genomicTrackPlotRegion(bed, ylim = c(0, 1), panel.fun = function(region, value, ...) {
circos.genomicText(region, value, y = 0.5, labels = "text", ...)
})
bed = cbind(bed, sample(letters, nrow(bed), replace = TRUE))
circos.genomicTrackPlotRegion(bed, panel.fun = function(region, value, ...) {
circos.genomicText(region, value, labels.column = 2, ...)
})
circos.clear()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab