Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用 circlize 包构建的和弦图。不幸的是,似乎没有办法将其保存为对象。我想让情节成为一个对象(尤其是 ggplot obkect),以便我可以修改一些周围的文本并将其导出到 xlsx。有什么建议么?
谢谢!
来自各种包的几个选项:
ggplot化:
g <- as.grob(~plot(runif(10))) grid.draw(g)
牛图:
plot(runif(10)) p1_recorded <- recordPlot() ggdraw(p1_recorded)