简体   繁体   中英

Circlize circular barplot as in ggplot

I am trying to duplicate a circular barplot made with ggplot2 into ciclize as follows: 带有ggplot2的圆形条形图

While I can bring it into a scatterplot and add a regression:

在此处输入图像描述

The visualization as barplot interests me more. However I have not found any similar example in the circlize guide or any example. I have tooled with the circos.polygon however drawing each bar seems not the best solution. Thus, I wonder if someone has toyed with this already, while no specific subject existis in stackoverflow.

I contacted Zuguang Gu on twitter and he was kind enough to make a wraper function for circlize. He posted the details here:

https://jokergoo.github.io/circlize/reference/circos.barplot.html

I really like ggplot2 but the level of detail and easy handling for circular barplots made me look for an answer using circlize.

Thanks to all that answered.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM