Chord function Diagram, R-packet

Can someone tell me how I can resize labels in the chordDiagram function (R-channel roundlize)? I was looking for an option like cex or cex.labels but can't find it. Can I also change the orientation?

Thanks in advance!

+4
source share
2 answers

As LukeA said, installation par()is the easiest way to change the basic font settings. chordDiagram()only provides a default style for text, the reason is that there are so many different styles for labels (e.g. font size, direction, position, only in a subset of sectors ...). If the function supports all of them, the function will be very difficult.

chordDiagram() "" . (, ), .

10 (http://cran.r-project.org/web/packages/circlize/vignettes/circular_visualization_of_matrix.pdf) .

+2

par :

library(circlize)
mat = matrix(sample(1:100, 18, replace = TRUE), 3, 6)
rownames(mat) = letters[1:3]
colnames(mat) = LETTERS[1:6]
par(cex = 2, mar = c(0, 0, 0, 0))
chordDiagram(mat)
+4

All Articles