circlize
circlize copied to clipboard
Links colored by gradient between colors of two connecting arcs
Hi,
This is a fantastic and extensive package, but I have one thing that I am hoping is possible with the chordDiagram. Specifically, I want to color the links between arcs as a gradient ranging between the two colors of the connecting arcs. In the documentation it says this was fixed, but I don't see it.
Given the implementation, I'd imagine you might have to code each polygon as a loop of smaller polygons subsetting the bezier curve, but I'm not sure how to do that with the implementation (and don't have enough expertise in R yet). Something like a LinearGradient (python) where the point at 1/2 arc length is the midpoint of the color gradient.