https://github.com/merck/boxly
Interactive box plot for clinical trial analysis
https://github.com/merck/boxly
Last synced: about 1 year ago
JSON representation
Interactive box plot for clinical trial analysis
- Host: GitHub
- URL: https://github.com/merck/boxly
- Owner: Merck
- License: gpl-3.0
- Created: 2023-05-12T17:53:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T04:18:15.000Z (almost 2 years ago)
- Last Synced: 2025-04-18T20:31:51.356Z (about 1 year ago)
- Language: R
- Homepage: https://merck.github.io/boxly/
- Size: 7.32 MB
- Stars: 12
- Watchers: 6
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# boxly 
[](https://github.com/Merck/boxly/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/Merck/boxly?branch=main)
[](https://cran.r-project.org/package=boxly)
[](https://cran.r-project.org/package=boxly)
## Installation
The easiest way to get boxly is to install from CRAN:
```r
install.packages("boxly")
```
Alternatively, to use a new feature or get a bug fix,
you can install the development version of boxly from GitHub:
```r
# 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](https://merck.github.io/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,.
1. Use `prepare_boxly()` to prepare datasets for interactive box plot.
1. Use `boxly()` to generate an interactive box plot.
Here is a quick example using an example dataset:
```r
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.