Skip to content

119 enable user to hide the slide bar on forest plot#121

Merged
wangben718 merged 4 commits intomainfrom
119-enable-user-to-hide-the-slide-bar-on-forest-plot
Mar 12, 2026
Merged

119 enable user to hide the slide bar on forest plot#121
wangben718 merged 4 commits intomainfrom
119-enable-user-to-hide-the-slide-bar-on-forest-plot

Conversation

@fukuhiro2023
Copy link
Collaborator

This PR updates ae_forestly() so that a user can control the display of the slider bar. If NULL is specified in filter, the slider bar will not be displayed.

<Example 1. Default: filter = NULL>

adsl <- forestly::forestly_adsl_3grp
adae <- forestly::forestly_adae_3grp
meta_forestly(
  dataset_adsl = adsl,
  dataset_adae = adae,
) |>
  prepare_ae_forestly() |>
  format_ae_forestly(c("n", "prop", "fig_prop", "fig_diff", "diff")) |>
  ae_forestly()
2026-03-12_forestly_slider-bar1

<Example 2. filter = "n">

adsl <- forestly::forestly_adsl_3grp
adae <- forestly::forestly_adae_3grp
meta_forestly(
  dataset_adsl = adsl,
  dataset_adae = adae,
) |>
  prepare_ae_forestly() |>
  format_ae_forestly(c("n", "prop", "fig_prop", "fig_diff", "diff")) |>
  ae_forestly(filter = "n")
2026-03-12_forestly_slider-bar2

@fukuhiro2023 fukuhiro2023 linked an issue Mar 12, 2026 that may be closed by this pull request
@fukuhiro2023 fukuhiro2023 requested a review from wangben718 March 12, 2026 03:15
@wangben718
Copy link
Collaborator

Thank you so much @fukuhiro2023 !

@wangben718 wangben718 merged commit 1bfed78 into main Mar 12, 2026
7 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.

Enable user to hide the slide bar on forest plot

2 participants