
admiral - ADaM in R Asset Library
A toolbox for programming Clinical Data Interchange Standards Consortium (CDISC) compliant Analysis Data Model (ADaM) datasets in R. ADaM datasets are a mandatory part of any New Drug or Biologics License Application submitted to the United States Food and Drug Administration (FDA). Analysis derivations are implemented in accordance with the "Analysis Data Model Implementation Guide" (CDISC Analysis Data Model Team, 2021, <https://www.cdisc.org/standards/foundational/adam>).
Last updated
adamcdiscclinical-trialsopen-sourcepharmaverse
14.65 score 305 stars 4 dependents 996 scripts 3.3k downloadsrtables - Reporting Tables
Reporting tables often have structure that goes beyond simple rectangular data. The 'rtables' package provides a framework for declaring complex multi-level tabulations and then applying them to data. This framework models both tabulation and the resulting tables as hierarchical, tree-like objects which support sibling sub-tables, arbitrary splitting or grouping of data in row and column dimensions, cells containing multiple values, and the concept of contextual summary computations. A convenient pipe-able interface is provided for declaring table layouts and the corresponding computations, and then applying them to data.
Last updated
pharmaceuticalstables
14.53 score 252 stars 20 dependents 717 scripts 5.6k downloadsteal - Exploratory Web Apps for Analyzing Clinical Trials Data
A 'shiny' based interactive exploration framework for analyzing clinical trials data. 'teal' currently provides a dynamic filtering facility and different data viewers. 'teal' 'shiny' applications are built using standard 'shiny' modules.
Last updated
clinical-trialsnestshinywebapp
13.16 score 257 stars 7 dependents 357 scripts 570 downloads
tern - Create Common TLGs Used in Clinical Trials
Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials.
Last updated
clinical-trialsgraphslistingsnestoutputstables
12.96 score 103 stars 11 dependents 606 scripts 1.5k downloads
cards - Analysis Results Data
Construct CDISC (Clinical Data Interchange Standards Consortium) compliant Analysis Results Data objects. These objects are used and re-used to construct summary tables, visualizations, and written reports. The package also exports utilities for working with these objects and creating new Analysis Results Data objects.
Last updated
analysiscdiscdataset
12.49 score 58 stars 50 dependents 238 scripts 59k downloads
ggsurvfit - Flexible Time-to-Event Figures
Ease the creation of time-to-event (i.e. survival) endpoint figures. The modular functions create figures ready for publication. Each of the functions that add to or modify the figure are written as proper 'ggplot2' geoms or stat methods, allowing the functions from this package to be combined with any function or customization from 'ggplot2' and other 'ggplot2' extension packages.
Last updated
11.98 score 106 stars 5 dependents 1.4k scripts 7.8k downloads
cardx - Extra Analysis Results Data Utilities
Create extra Analysis Results Data (ARD) summary objects. The package supplements the simple ARD functions from the 'cards' package, exporting functions to put statistical results in the ARD format. These objects are used and re-used to construct summary tables, visualizations, and written reports.
Last updated
11.61 score 23 stars 45 dependents 143 scripts 53k downloads
r2rtf - Easily Create Production-Ready Rich Text Format (RTF) Tables and Figures
Create production-ready Rich Text Format (RTF) tables and figures with flexible format.
Last updated
11.15 score 84 stars 15 dependents 174 scripts 9.6k downloadsrlistings - Clinical Trial Style Data Readout Listings
Listings are often part of the submission of clinical trial data in regulatory settings. We provide a framework for the specific formatting features often used when displaying large datasets in that context.
Last updated
10.96 score 28 stars 13 dependents 111 scripts 1.7k downloadsteal.modules.clinical - 'teal' Modules for Standard Clinical Outputs
Provides user-friendly tools for creating and customizing clinical trial reports. By leveraging the 'teal' framework, this package provides 'teal' modules to easily create an interactive panel that allows for seamless adjustments to data presentation, thereby streamlining the creation of detailed and accurate reports.
Last updated
clinical-trialsmodulesnestoutputsshiny
10.90 score 42 stars 1 dependents 263 scripts 484 downloadsformatters - ASCII Formatting for Values and Tables
We provide a framework for rendering complex tables to ASCII, and a set of formatters for transforming values or sets of values into ASCII-ready display strings.
Last updated
formatmatrixtable
10.86 score 19 stars 23 dependents 73 scripts 8.6k downloadsteal.reporter - Reporting Tools for 'shiny' Modules
Prebuilt 'shiny' modules containing tools for the generation of 'rmarkdown' reports, supporting reproducible research and analysis.
Last updated
nestreportingshiny
10.36 score 9 stars 8 dependents 27 scripts 5.6k downloadsteal.modules.general - General Modules for 'teal' Applications
Prebuilt 'shiny' modules containing tools for viewing data, visualizing data, understanding missing and outlier values within your data and performing simple data analysis. This extends 'teal' framework that supports reproducible research and analysis.
Last updated
general-purposemodulesnestshiny
10.30 score 16 stars 196 scripts 360 downloads
xportr - Utilities to Output CDISC SDTM/ADaM XPT Files
Tools to build CDISC compliant data sets and check for CDISC compliance.
Last updated
clinical-programmersxpt
10.09 score 52 stars 1 dependents 188 scripts 1.3k downloadsteal.data - Data Model for 'teal' Applications
Provides a 'teal_data' class as a unified data model for 'teal' applications focusing on reproducibility and relational data.
Last updated
data-modelnest
10.08 score 11 stars 11 dependents 67 scripts 2.0k downloadsteal.widgets - 'shiny' Widgets for 'teal' Applications
Collection of 'shiny' widgets to support 'teal' applications. Enables the manipulation of application layout and plot or table settings.
Last updated
nestshinywidgets
9.95 score 6 stars 10 dependents 40 scripts 3.2k downloadsmetacore - A Centralized Metadata Object Focus on Clinical Trial Data Programming Workflows
Create an immutable container holding metadata for the purpose of better enabling programming activities and functionality of other packages within the clinical programming workflow.
Last updated
9.80 score 47 stars 1 dependents 274 scripts 1.5k downloadsteal.code - Code Storage and Execution Class for 'teal' Applications
Introduction of 'qenv' S4 class, that facilitates code execution and reproducibility in 'teal' applications.
Last updated
nestshiny
9.48 score 12 stars 12 dependents 16 scripts 1.7k downloads
tidytlg - Create TLGs using the 'tidyverse'
Generate tables, listings, and graphs (TLG) using 'tidyverse'. Tables can be created functionally, using a standard TLG process, or by specifying table and column metadata to create generic analysis summaries. The 'envsetup' package can also be leveraged to create environments for table creation.
Last updated
9.42 score 40 stars 2 dependents 62 scripts 1.1k downloadsteal.slice - Filter Module for 'teal' Applications
Data filtering module for 'teal' applications. Allows for interactive filtering of data stored in 'data.frame' and 'MultiAssayExperiment' objects. Also displays filtered and unfiltered observation counts.
Last updated
modulesnestslice
9.20 score 12 stars 8 dependents 6 scripts 694 downloads
pharmaversesdtm - SDTM Test Data for the 'Pharmaverse' Family of Packages
A set of Study Data Tabulation Model (SDTM) datasets from the Clinical Data Interchange Standards Consortium (CDISC) pilot project used for testing and developing Analysis Data Model (ADaM) datasets inside the pharmaverse family of packages. SDTM dataset specifications are described in the CDISC SDTM implementation guide, accessible by creating a free account on <https://www.cdisc.org/>.
Last updated
9.19 score 35 stars 1 dependents 380 scripts 1.3k downloads
Tplyr - A Traceability Focused Grammar of Clinical Data Summary
A traceability focused tool created to simplify the data manipulation necessary to create clinical summaries.
Last updated
pharmatables
9.02 score 108 stars 162 scripts 1.2k downloads
rbmi - Reference Based Multiple Imputation
Implements standard and reference based multiple imputation methods for continuous longitudinal endpoints (Gower-Page et al. (2022) <doi:10.21105/joss.04251>). In particular, this package supports deterministic conditional mean imputation and jackknifing as described in Wolbers et al. (2022) <doi:10.1002/pst.2234>, Bayesian multiple imputation as described in Carpenter et al. (2013) <doi:10.1080/10543406.2013.834911>, and bootstrapped maximum likelihood imputation as described in von Hippel and Bartlett (2021) <doi:10.1214/20-STS793>.
Last updated
8.96 score 21 stars 4 dependents 101 scripts 479 downloads
pharmaverseadam - ADaM Test Data for the 'Pharmaverse' Family of Packages
A set of Analysis Data Model (ADaM) datasets constructed using the Study Data Tabulation Model (SDTM) datasets contained in the 'pharmaversesdtm' package and the template scripts from the 'admiral' family of packages. ADaM dataset specifications are described in the CDISC ADaM implementation guide, accessible by creating a free account on <https://www.cdisc.org/>.
Last updated
8.83 score 33 stars 2 dependents 216 scripts 1.5k downloadsrandom.cdisc.data - Create Random ADaM Datasets
A set of functions to create random Analysis Data Model (ADaM) datasets and cached dataset. ADaM dataset specifications are described by the Clinical Data Interchange Standards Consortium (CDISC) Analysis Data Model Team.
Last updated
cdiscdataset
8.77 score 45 stars 1 dependents 75 scripts 425 downloads
tfrmt - Applies Display Metadata to Analysis Results Datasets
Creates a framework to store and apply display metadata to Analysis Results Datasets (ARDs). The use of 'tfrmt' allows users to define table format and styling without the data, and later apply the format to the data.
Last updated
8.65 score 89 stars 1 dependents 111 scripts 800 downloads
rtables.officer - Exporting Tools for 'rtables'
Designed to create and display complex tables with R, the 'rtables' R package allows cells in an 'rtables' object to contain any high-dimensional data structure, which can then be displayed with cell-specific formatting instructions. Additionally, the 'rtables.officer' package supports export formats related to the Microsoft Office software suite, including Microsoft Word ('docx') and Microsoft PowerPoint ('pptx').
Last updated
pharmaceuticalstables
8.61 score 5 stars 10 dependents 9 scripts 4.5k downloadsnestcolor - Colors for NEST Graphs
Clinical reporting figures require to use consistent colors and configurations. As a part of the Roche open-source clinical reporting project, namely the NEST project, the 'nestcolor' package specifies the color code and default theme with specifying 'ggplot2' theme parameters. Users can easily customize color and theme settings before using the reset of NEST packages to ensure consistent settings in both static and interactive output at the downstream.
Last updated
8.38 score 5 stars 12 dependents 214 scripts 1.0k downloadsteal.transform - Functions for Extracting and Merging Data in the 'teal' Framework
A standardized user interface for column selection, that facilitates dataset merging in 'teal' framework.
Last updated
mergemodulesnesttransform
8.38 score 2 stars 5 dependents 20 scripts 510 downloadsteal.logger - Logging Setup for the 'teal' Family of Packages
Utilizing the 'logger' framework to record events within a package, specific to 'teal' family of packages. Supports logging namespaces, hierarchical logging, various log destinations, vectorization, and more.
Last updated
loggingnestutilities
8.29 score 7 stars 10 dependents 5 scripts 1.1k downloads
logrx - A Logging Utility Focus on Clinical Trial Programming Workflows
A utility to facilitate the logging and review of R programs in clinical trial programming workflows.
Last updated
8.03 score 48 stars 33 scripts 998 downloads
envsetup - Support the Setup of the R Environment for Clinical Trial Programming Workflows
The purpose of this package is to support the setup the R environment. The two main features are 'autos', to automatically source files and/or directories into your environment, and 'paths' to consistently set path objects across projects for input and output. Both are implemented using a configuration file to allow easy, custom configurations that can be used for multiple or all projects.
Last updated
7.85 score 12 stars 292 scripts 181 downloads
hermes - Preprocessing, analyzing, and reporting of RNA-seq data
Provides classes and functions for quality control, filtering, normalization and differential expression analysis of pre-processed `RNA-seq` data. Data can be imported from `SummarizedExperiment` as well as `matrix` objects and can be annotated from `BioMart`. Filtering for genes without too low expression or containing required annotations, as well as filtering for samples with sufficient correlation to other samples or total number of reads is supported. The standard normalization methods including cpm, rpkm and tpm can be used, and 'DESeq2` as well as voom differential expression analyses are available.
Last updated
rnaseqdifferentialexpressionnormalizationpreprocessingqualitycontrolrna-seqstatistical-engineering
7.80 score 12 stars 1 dependents 45 scriptsmetatools - Enable the Use of 'metacore' to Help Create and Check Dataset
Uses the metadata information stored in 'metacore' objects to check and build metadata associated columns.
Last updated
7.54 score 22 stars 196 scripts 1.4k downloads
datacutr - SDTM Datacut
Supports the process of applying a cut to Standard Data Tabulation Model (SDTM), as part of the analysis of specific points in time of the data, normally as part of investigation into clinical trials. The functions support different approaches of cutting to the different domains of SDTM normally observed.
Last updated
7.36 score 17 stars 12 scripts 216 downloadsdunlin - Preprocessing Tools for Clinical Trial Data
A collection of functions to preprocess data and organize them in a format amenable to use by chevron.
Last updated
7.34 score 5 stars 1 dependents 56 scripts 186 downloads
pharmaRTF - Enhanced RTF Wrapper for Use with Existing Table Packages
Enhanced RTF wrapper written in R for use with existing R tables packages such as 'Huxtable' or 'GT'. This package fills a gap where tables in certain packages can be written out to RTF, but cannot add certain metadata or features to the document that are required/expected in a report for a regulatory submission, such as multiple levels of titles and footnotes, making the document landscape, and controlling properties such as margins.
Last updated
7.27 score 34 stars 136 scripts 601 downloadstern.mmrm - Tables and Graphs for Mixed Models for Repeated Measures (MMRM)
Mixed models for repeated measures (MMRM) are a popular choice for analyzing longitudinal continuous outcomes in randomized clinical trials and beyond; see for example Cnaan, Laird and Slasor (1997) <doi:10.1002/(SICI)1097-0258(19971030)16:20%3C2349::AID-SIM667%3E3.0.CO;2-E>. This package provides an interface for fitting MMRM within the 'tern' <https://cran.r-project.org/package=tern> framework by Zhu et al. (2023) and tabulate results easily using 'rtables' <https://cran.r-project.org/package=rtables> by Becker et al. (2023). It builds on 'mmrm' <https://cran.r-project.org/package=mmrm> by Sabanés Bové et al. (2023) for the actual MMRM computations.
Last updated
graphslistingsstatistical-engineeringtables
6.85 score 7 stars 2 dependents 9 scripts 435 downloadssdtmchecks - Data Quality Checks for Study Data Tabulation Model (SDTM) Datasets
A series of checks to identify common issues in Study Data Tabulation Model (SDTM) datasets. These checks are intended to be generalizable, actionable, and meaningful for analysis.
Last updated
6.80 score 27 stars 13 scripts 258 downloadsteal.modules.hermes - RNA-Seq Analysis Modules to Add to a Teal Application
RNA-seq analysis teal modules based on the `hermes` package.
Last updated
modulesrna-seq-analysisshiny
6.57 score 7 stars 33 scriptssimIDM - Simulating Oncology Trials using an Illness-Death Model
Based on the illness-death model a large number of clinical trials with oncology endpoints progression-free survival (PFS) and overall survival (OS) can be simulated, see Meller, Beyersmann and Rufibach (2019) <doi:10.1002/sim.8295>. The simulation set-up allows for random and event-driven censoring, an arbitrary number of treatment arms, staggered study entry and drop-out. Exponentially, Weibull and piecewise exponentially distributed survival times can be generated. The correlation between PFS and OS can be calculated.
Last updated
multistate-modelssimulation-engine
6.47 score 14 stars 15 scripts 168 downloadschevron - Standard TLGs for Clinical Trials Reporting
Provide standard tables, listings, and graphs (TLGs) libraries used in clinical trials. This package implements a structure to reformat the data with 'dunlin', create reporting tables using 'rtables' and 'tern' with standardized input arguments to enable quick generation of standard outputs. In addition, it also provides comprehensive data checks and script generation functionality.
Last updated
clinical-trialsgraphslistingsnestreportingtables
6.42 score 19 stars 17 scripts 252 downloads
visR - Clinical Graphs and Tables Adhering to Graphical Principles
To enable fit-for-purpose, reusable clinical and medical research focused visualizations and tables with sensible defaults and based on graphical principles as described in: "Vandemeulebroecke et al. (2018)" <doi:10.1002/pst.1912>, "Vandemeulebroecke et al. (2019)" <doi:10.1002/psp4.12455>, and "Morris et al. (2019)" <doi:10.1136/bmjopen-2019-030215>.
Last updated
6.22 score 188 stars 92 scripts 26 downloads
valtools - Automate Validated Package Creation
Automate the steps necessary to create a validation ready package to make the process of validation simple. This includes setting up the specifications, test cases, test code, and validation report. Also provides tools to be able to execute the validation report from a variety of situations to provide documentation for validation.
Last updated
6.11 score 56 stars 46 scriptscovtracer - Contextualizing Tests
Dissects a package environment or 'covr' coverage object in order to cross reference tested code with the lines that are evaluated, as well as linking those evaluated lines to the documentation that they are described within. Connecting these three pieces of information provides a mechanism of linking tests to documented behaviors.
Last updated
6.01 score 23 stars 10 scripts 936 downloadsr.pkg.template - R Package Template
R package template with GitHub Actions workflows included.
Last updated
gitgithub-actionstemplate
5.65 score 43 stars 1 scripts
simaerep - Detect Clinical Trial Sites Over- or Under-Reporting Clinical Events
Monitoring reporting rates of subject-level clinical events (e.g. adverse events, protocol deviations) reported by clinical trial sites is an important aspect of risk-based quality monitoring strategy. Sites that are under-reporting or over-reporting events can be detected using bootstrap simulations during which patients are redistributed between sites. Site-specific distributions of event reporting rates are generated that are used to assign probabilities to the observed reporting rates. (Koneswarakantha 2024 <doi:10.1007/s43441-024-00631-8>).
Last updated
ae-reportingclinical-trials
5.39 score 27 stars 20 scripts 209 downloadsgoshawk - Longitudinal Visualization Functions
Functions that plot and summarize biomarkers/labs of interest. Visualizations include: box plot, correlation plot, density distribution, line plot and spaghetti plot. Data are expected in ADaM structure. Requires analysis subject level (ADSL) and analysis laboratory (ADLB) data sets. Beyond core variables, Limit of Quantification flag variable (LOQFL) is expected with levels 'Y', 'N' or NA.
Last updated
plotsummarization
5.35 score 5 stars 1 dependentstern.rbmi - Create Interface for 'RBMI' and 'tern'
'RBMI' implements standard and reference based multiple imputation methods for continuous longitudinal endpoints (Gower-Page et al. (2022) <doi:10.21105/joss.04251>). This package provides an interface for 'RBMI' uses the 'tern' <https://cran.r-project.org/package=tern> framework by Zhu et al. (2023) and tabulate results easily using 'rtables' <https://cran.r-project.org/package=rtables> by Becker et al. (2023).
Last updated
graphslistingstables
5.15 score 4 stars 5 scripts 12 downloadsadmiral.test - Test Data for the 'admiral' Package
A set of Study Data Tabulation Model (SDTM) datasets from the Clinical Data Interchange Standards Consortium (CDISC) pilot project used for testing and developing Analysis Data Model (ADaM) derivations inside the 'admiral' package.
Last updated
4.78 score 2 stars 332 scripts 385 downloadsosprey - R Package to Create TLGs
Community effort to collect TLG code and create a catalogue.
Last updated
cataloggraphslistingsnesttables
4.72 score 5 stars 1 dependents 1 scriptsscda - Package to Access Synthetic CDISC Archive Data
Access Synthetic CDISC Data from Archive Packages.
Last updated
cdiscnestsynthetic-data
4.67 score 13 stars 31 scriptsroxy.shinylive - A 'roxygen2' Extension for 'Shinylive'
An extension for 'roxygen2' to embed 'Shinylive' applications in the package documentation.
Last updated
documentationroxygen2shinyshinylivewebr
4.51 score 13 stars 1 scripts 443 downloadsflexsurvPlus - Provides Functions to Perform Survival Analysis for Economic models
A group of functions designed to perform survival analyses.
Last updated
cost-effectivenesscost-effectiveness-analysishealth-economic-evaluationhealth-economicshtasurvival-analysis
4.32 score 3 stars 8 scriptspsborrow - Bayesian Dynamic Borrowing with Propensity Score
A tool which aims to help evaluate the effect of external borrowing using an integrated approach described in Lewis et al., (2019) <doi:10.1080/19466315.2018.1497533> that combines propensity score and Bayesian dynamic borrowing methods.
Last updated
jagscpp
4.08 score 4 scripts 570 downloadsscda.2022 - Synthetic CDISC Data Archive 2022
An archive of synthetic CDISC data for 2022.
Last updated
cdiscnestsynthetic-data
3.95 score 10 stars 4 scriptsMAIC - Package to Perform Matched-adjusted Indirect Comparisons
A group of functions designed to perform matched-adjusted indirect comparisons as per NICE TSD 18 and summarise the results for survival data (using hazard ratios) and binary data (using odds ratios.)
Last updated
evidence-synthesishealth-economic-evaluationhta
3.86 score 8 stars 45 scriptsscda.2021 - Synthetic CDISC Data Archive 2021
An archive of synthetic CDISC data for 2021.
Last updated
cdiscnestsynthetic-data
3.53 score 4 starsmtdesign - Mander and Thompson Designs
Implements Mander & Thompson's (2010) <doi:10.1016/j.cct.2010.07.008> methods for two-stage designs optimal under the alternative hypothesis for phase II [cancer] trials. Also provides an implementation of Simon's (1989) <doi:10.1016/0197-2456(89)90015-9> original methodology and allows exploration of the operating characteristics of sub-optimal designs.
Last updated
cpp
3.48 score 3 stars 4 scripts 568 downloadsgemtcPlus - Provides a suite of extension functions for NMA using the `gemtc` package
Functions for generating outputs: tables and plots for NMA reports.
Last updated
evidence-synthesishealth-economic-evaluationhealth-economicshtajagscpp
3.03 score 6 stars 12 scriptsCTP - Closed Testing Procedure (CTP)
This is a package for constructing hypothesis trees for treatment comparisons based on the closure principle and analysing the corresponding Closed Testing Procedures (CTP) using adjusted p-values. For reference, see Marcus, R., Peritz, E, and Gabriel, K.R. (1976) <doi:10.2307/2335748> and Bauer, P (1991) <doi:10.1002/sim.4780100609>.
Last updated
3.00 score 1 stars 3 scripts 23 downloadsnesttemplate - `pkgdown` Template for NEST Packages
This is a private template for use by core NEST packages. Please don't use for your own code.
Last updated
nestpkgdown-templatetemplate
2.70 score 2 starsfacetsr - facets R wrapper
The goal of facetsr is to create an R wrapper for facets. So use facets to explore your dataset.
Last updated
2.30 score 4 stars 4 scriptsdescem - Discrete Event Simulation for Cost-Effectiveness Modelling
A package designed to perform discrete event simulation for cost-effectiveness modelling.
Last updated
health-economic-evaluationhealth-economicshtasurvival-analysis
2.00 score 2 stars 6 scriptsrpsftmPlus - Extensions To Rpsftm Package
A collection of extenstions to the rpsftm package to enable descriptive analysis of trials affected by treatment switching and enable additional analysis of rpsft models.
Last updated
health-economic-evaluationhealth-economicshtasurvival-analysis
2.00 score 2 stars 1 scripts




