This package contains a set of standard teal
modules to be used with CDISC data in order to generate many of the standard outputs used in clinical trials.
These modules include, but are not limited to:
- Data visualizations:
- forest plots (
tm_g_forest_rsp
/tm_g_forest_tte
) - line plots (
tm_g_lineplot
) - Kaplan-Meier plots (
tm_g_km
) - …
- forest plots (
- Statistical model fits:
- MMRM (
tm_a_mmrm
) - logistic regression (
tm_t_logistic
) - Cox regression (
tm_t_coxreg
) - …
- MMRM (
- Summary tables:
- unique patients (
tm_t_summary
) - exposure across patients (
tm_t_exposure
) - change from baseline for parameters (
tm_t_summary_by
) - …
- unique patients (
- Patient-level profile modules:
- table of basic information about chosen patient (
tm_t_pp_basic_info
) - plot of patient vitals over time (
tm_g_pp_vitals
) - general timeline for individual patients (
tm_g_pp_patient_timeline
) - …
- table of basic information about chosen patient (
Most of the modules in teal.modules.clinical
use functions from the R package tern in order to produce their output.
Please see teal gallery and TLG Catalog for examples of teal
apps created using modules from this package.
Installation
You can install the latest released version of this package directly from GitHub by running the following:
if (!require("remotes")) install.packages("remotes")
remotes::install_github("insightsengineering/teal.modules.clinical@*release")
Note that it is recommended that you create and use a GITHUB_PAT
when installing the latest version of this package from GitHub.
You may need to manually install all of this package’s dependencies prior to installing this package, as without the dependencies = FALSE
argument to install_github
it may produce an error.
A stable release of all NEST packages from October 2022 is available here.
See package vignettes browseVignettes(package = "teal.modules.clinical")
for usage of this package.