I am trying to duplicate a circular barplot made with ggplot2 into ciclize as follows:
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.