daniel1noble / orchaRd

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

When flip=FALSE, 'angle' doesn't behave as expected #33

Open befriendabacterium opened 1 year ago

befriendabacterium commented 1 year ago

When flip=FALSE, the rotation confuses the 'angle' argument because it now changes the angle of the effect size axis tick marks (which are now on the y axis), rather than the grouping labels. As a workaround you can override it by using +theme() lines to manually specify the axes, but longer term it might be worth fixing this in the orchaRd function itself. For example, could have two arguments 'angle.group' and 'angle.effect' to specify them specifically in a way that is robust to flipping the orientation of the plot? Sorry don't mean to add to your plate just flagging it up for future!

Originally posted by @befriendabacterium in https://github.com/daniel1noble/orchaRd/issues/28#issuecomment-1584333013