The easiest way to get forestly is to install from CRAN:
install.packages("forestly")
Alternatively, to use a new feature or get a bug fix, you can install the development version of forestly from GitHub:
# install.packages("remotes")
remotes::install_github("Merck/forestly")
Overview
The forestly package creates interactive forest plots for clinical trial analysis & reporting.
We assume ADaM datasets are ready for analysis and leverage metalite data structure to define inputs and outputs.
WorkflowThe general workflow is:
meta_forestly()
constructs input metadata for treatment analysis from ADaM datasets.prepare_ae_forestly()
prepares datasets for interactive forest plot.format_ae_forestly()
formats output layout.ae_forestly()
generates an interactive forest plot.Here is a quick example
library("forestly")
meta_forestly(
dataset_adsl = forestly_adsl,
dataset_adae = forestly_adae,
parameter_term = "any;rel;ser",
population_subset = SAFFL == "Y",
observation_subset = SAFFL == "Y"
) |>
prepare_ae_forestly(parameter = "any;rel;ser") |>
format_ae_forestly() |>
ae_forestly()
Interactive features
The interactive features for safety analysis include:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4