Closed liujilei156231 closed 1 year ago
No easy way, you have to add it manually.
Yeah,the circos.connect
module could achieve this goal, but it is too complex. So, expect circlize
team to encapsulate this functionality.
Thanks!
Error bars are basically segments. Let me give you an example:
circos.initialize(letters[1:4], xlim = c(0, 10))
circos.track(ylim = c(0, 1.2), panel.fun = function(x, y) {
value = runif(10)
mid = 1:10 - 0.5
circos.barplot(value, mid, col = 1:10)
error = value*0.2
circos.segments(mid, value, mid, value + error)
circos.segments(mid - 0.1, value + error, mid + 0.1, value + error)
})
circos.clear()
Thanks!It's a simple implementation.
Hello, I want to add a error bar to
circos.barplot
.How can I finish it?Thanks!