I made a nice chord diagram with circlize library in R which looks like this:
,
but I want it to rotate it to look it like this:
.
How do I do it in R with this package?
I made a nice chord diagram with circlize library in R which looks like this:
,
but I want it to rotate it to look it like this:
.
How do I do it in R with this package?
Perhaps set start.degree in circos.par:
> library(circlize)
> circos.par(start.degree = 123)
> circos.initialize(...)
...
Or print out a PDF or SVG and rotate it in Adobe Illustrator.
If you want to put the circle vertically symmetric, you need to calculate a proper start.degree. In the plot, small gap and big gap are fixed values. The remaining of the circle are filled according to rowSums(abs(mat)) and colSums(abs(mat)). With these values, you can simply calculate a proper start.degree.
I have written a post of how to rotate the circle to make it looks horizontal or vertical.
http://zuguang.de/blog/html/put_chord_diagram_symmetric.html
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.