Interactive Box Plot

Interactive box plot using 'plotly' for clinical trial analysis.


boxly

R-CMD-check Codecov test coverage CRAN status CRAN Downloads

Installation

The easiest way to get boxly is to install from CRAN:

install.packages("boxly")

Alternatively, to use a new feature or get a bug fix, you can install the development version of boxly from GitHub:

# install.packages("remotes")
remotes::install_github("Merck/boxly")

Overview

The boxly package creates interactive box plots for clinical trial analysis & reporting.

We assume ADaM datasets are ready for analysis and leverage metalite data structure to define inputs and outputs.

Workflow

The general workflow is:

  1. Use meta_boxly() or metalite package to construct input metadata from ADaM datasets. For example,.
  2. Use prepare_boxly() to prepare datasets for interactive box plot.
  3. Use boxly() to generate an interactive box plot.

Here is a quick example using an example dataset:

library("boxly")

meta_boxly(
  boxly_adsl,
  boxly_adlb,
  population_term = "apat",
  observation_term = "wk12",
  observation_subset = AVISITN <= 12 & !is.na(CHG)
) |>
  prepare_boxly() |>
  boxly()

Highlighted features

  • Parameter selection: Drop-down menu to select parameter of interest.
  • Interactivity: Display summary statistics and outlier information interactively.
  • Listing: Provide detailed information in interactive listing.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("boxly")

0.1.2 by Yujie Zhao, 4 months ago


https://merck.github.io/boxly/, https://github.com/Merck/boxly


Report a bug at https://github.com/Merck/boxly/issues


Browse source code at https://github.com/cran/boxly


Authors: Yujie Zhao [aut, cre] , Benjamin Wang [aut] , Yilong Zhang [ctb] , Nan Xiao [ctb] , Hiroaki Fukuda [ctb] , Sarad Nepal [ctb] , Madhusudhan Ginnaram [ctb] , Venkatesh Burla [ctb] , Merck Sharp & Dohme Corp [cph]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports DT, brew, rlang, crosstalk, ggplot2, htmlwidgets, htmltools, metalite, plotly, uuid

Suggests covr, knitr, rmarkdown, testthat


See at CRAN