Skip to content

Introduce plotForest#220

Merged
TuomasBorman merged 19 commits intodevelfrom
plotForest
Feb 22, 2026
Merged

Introduce plotForest#220
TuomasBorman merged 19 commits intodevelfrom
plotForest

Conversation

@RiboRings
Copy link
Member

@RiboRings RiboRings commented Jan 22, 2026

Hi!

The plotForest viz is ready to be shared! (check vignettes for usage)

It features methods for both (Tree)SE and dataframes containing statistical results. All relevant variables (effects, CI upper and lower boundaries, pvals, id cols) are encoded by arguments for convenience and flexibility.

plotForest can be applied to both rowData and colData, with the option to add tree hierarchy and labels on the side, and also comparing between two groups (paired forest plot).

While minor aesthetic add-ons could be considered for future PRs, I think the main functionality is already there and is quite broad.

Happy to hear your comments,
Giulio

@RiboRings RiboRings linked an issue Jan 22, 2026 that may be closed by this pull request
Copy link
Member

@antagomir antagomir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Just some suggestions.

@RiboRings
Copy link
Member Author

RiboRings commented Jan 26, 2026

Now the vignettes use DAA results from Maaslin3.

While testing, I also added plotForest visualisation to the differential abundance chapter of OMA, for all the different methods. I could open a PR there.

Copy link
Contributor

@TuomasBorman TuomasBorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments. Looks good!

@codecov
Copy link

codecov bot commented Jan 31, 2026

Codecov Report

❌ Patch coverage is 79.68750% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.39%. Comparing base (5a7c3ae) to head (3cc9f90).
⚠️ Report is 12 commits behind head on devel.

Files with missing lines Patch % Lines
R/plotForest.R 79.47% 39 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel     #220      +/-   ##
==========================================
+ Coverage   57.71%   61.39%   +3.68%     
==========================================
  Files          21       22       +1     
  Lines        3493     3865     +372     
==========================================
+ Hits         2016     2373     +357     
- Misses       1477     1492      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@TuomasBorman TuomasBorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. Here are couple final comments; most of them are thoughts and can be ignored if justified

Copy link
Contributor

@TuomasBorman TuomasBorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@TuomasBorman TuomasBorman merged commit f250949 into devel Feb 22, 2026
3 checks passed
@TuomasBorman TuomasBorman deleted the plotForest branch February 22, 2026 16:40
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.

Introduce plotForest

3 participants