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.
The 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(
forestly_adsl,
forestly_adae,
population_term = "apat",
observation_term = "wk12"
) |>
prepare_ae_forestly(parameter = "any;rel;ser") |>
format_ae_forestly() |>
ae_forestly()
More details can be found on the package website.
The interactive features for safety analysis include:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.