I am trying to widen the end of ribbon. Is it possible?
library(circlize)
mat2 = matrix(sample(100, 35), nrow = 5)
rownames(mat2) = letters[1:5]
colnames(mat2) = letters[1:7]
chordDiagram(mat2, grid.col = 1:7, directional = 1, row.col = 1:5)
Thanks
CodePudding user response:
You can use the target.prop.height
argument:
chordDiagram(mat2, grid.col = 1:7, directional = 1, row.col = 1:5,
target.prop.height = mm_h(1))
chordDiagram(mat2, grid.col = 1:7, directional = 1, row.col = 1:5,
target.prop.height = mm_h(3))