Chorddiagram:组之间链接的颜色梯度

发布于 2025-01-24 19:52:31 字数 325 浏览 2 评论 0原文

我的问题是关于R中“ Circlize”软件包的“ Chorddiagram”功能。 我想知道是否有可能用两组的光滑颜色梯度对不同组之间的链接进行着色。 我们用“ grid.col”参数和链接的颜色与“ col”参数设置了组的颜色。

有没有办法,对于每个链接,可以在两个组中设置的两种颜色之间获得平滑的梯度? 我已经看到这在其他程序以外的其他程序中是可行的,但是我想知道是否有人已经遇到了同样的问题。 这是我要获得的示例。 [组之间平稳梯度的示例]

“”

非常感谢您的帮助。

My question is about the function 'chordDiagram' of the 'circlize' package in R.
I wonder if there is a possibility to color the links between the different groups with a smooth color gradient of the two groups.
We set the colors of the groups with the 'grid.col' argument and the colors of the links with the 'col' argument.

Is there a way, for each link to get a smooth gradient between the two colors set in grid.col for the 2 groups?
I've seen that this is doable in other programs than R but I wonder if anyone has already faced the same issue.
Here is an example of what I am trying to obtain.
[Example of smooth gradients between groups]

Thank you very much in advance for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文