Reputation: 69
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.
Upvotes: 3
Views: 3271
Reputation: 69
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.
Upvotes: 2