【发布时间】:2020-04-14 01:11:05
【问题描述】:
chordDiagram(as.data.frame(DF2), annotationTrack = "grid", preAllocateTracks = 1)
par(cex = 0.5, mar = c(0,0,0,0)+5)
circos.trackPlotRegion(track.index = 1, panel.fun = function(x, y) {
xlim = get.cell.meta.data("xlim")
ylim = get.cell.meta.data("ylim")
sector.name = get.cell.meta.data("sector.index")
circos.text(mean(xlim), ylim[1] + .1, sector.name, facing = "clockwise", niceFacing = TRUE, adj =
c(0,
0.5))
circos.axis(h = "top", labels.cex = 0.5, major.tick.percentage = 0.2, sector.index = sector.name,
track.index = 2)
}, bg.border = NA)
我正在寻求建议如何更改我的编码以确保标签不会被边缘切断?
【问题讨论】: