daniel1noble / orchaRd

Extending the Orchard Plot for Meta-analysis
https://daniel1noble.github.io/orchaRd/
11 stars 6 forks source link

Features to make caterpillar plot more equivalent to orchaRd plot #42

Closed befriendabacterium closed 9 months ago

befriendabacterium commented 11 months ago

Is your feature request related to a problem? Please describe. I really like that orchaRd also has a caterpillars() function to plot this alternative way of displaying the same information, but going further with this by adding some options to colour the caterpillar plot by study and change the orientation (so effect size is on y axis) would a nice feature to facilitate closer comparison.

Describe the solution you'd like

  1. Option to colour by study as in orchard_plot()
  2. Option to flip orientation of plot as in orchard_plot()

Describe alternatives you've considered Could manually recolour and reorientate the orchard plot object I suppose but can be tricky esp. with re-colouring as the syntax required is a bit different.

befriendabacterium commented 11 months ago

Here's my proposed colouring-by-study feature addition https://github.com/daniel1noble/orchaRd/pull/43

befriendabacterium commented 11 months ago

And when/if you've merged that, here's my proposed flipping orientation solution.

https://github.com/daniel1noble/orchaRd/pull/44

daniel1noble commented 9 months ago

Merged now