Skip to content

Conversation

sangyu
Copy link
Collaborator

@sangyu sangyu commented Oct 16, 2025

  • created a MultiContrast Class to handle arrays of contrast objects
  • whorlmap to visualize large numbers of effect sizes concisely
  • forest_plot integration ensures backward compatibility
  • tests

JAnns98 and others added 29 commits April 1, 2025 11:51
changed to IBM Plex font family
- Added group summary lines to slopegraphs
- Added ability to color effect size curves and the constrast bars and delta text via using custom_palette to paired plots
Constructing MultiContrast class with a 2d array in the form of a nested list now works to produce a 2d vortexmap.
now custom_palette dictionary can accept 0 and 1 to fill barplots
Updated slopegraph visuals and additional custom_palette options

updated the design of slopegraphs to remove raw bars and include a group summary (central tendency line with error bars)
Added additional coloring options:
- custom_palette dict for unpaired prop plots (bar plots) can now take 0 and 1 as keys to color the filled and unfilled portions of the plots
- custom_palette usage with in paired plots can now color the contrast bars and effect size curves
1. multi.ipynb was re-written to enable integration with forest_plot.
* MultiContrast (mc) object data loading now incorporates Jonny's thorough data validations from forest_plot()
* mc object now has a method forest_plot() that plots a forest_plot from 1-D mc objects using existing forest_plot code.
2. 10-multicontrast.ipynb tutorial edited accordingly.
TODO: add unit test for mc
putting multi contrast commits into rebased vnbdev branch
updated labels to remove additional capitalisations beyond the first word
Changes mini-meta weighting to use the variance of the bootstrapped resampled mean difference distribution, rather than the sample variance. See Cochrane handbook (https://www.cochrane.org/authors/handbooks-and-manuals/handbook/current/chapter-10)
There is an issue with the permutation t-test pvalue test that I'm not sure how to fix at the moment, commented out for now.
Updated baseline image for mini-meta forest plot test to presumably account for the slightly different weighted deltas. This is so pytest can stop failing on Github
Minor fixes for 2d mc forest plot integration
Name change to whorlmap
Rearranging tutorial order
rebasing multicontrast
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sangyu sangyu merged commit 454c4dc into ACCLAB:feat-multicontrast_whorlmap_forest_plot_integration Oct 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants