https://github.com/insightsengineering/teal.modules.clinical
Provides teal modules for the standard clinical trials outputs
https://github.com/insightsengineering/teal.modules.clinical
clinical-trials modules nest outputs r shiny
Last synced: 3 months ago
JSON representation
Provides teal modules for the standard clinical trials outputs
- Host: GitHub
- URL: https://github.com/insightsengineering/teal.modules.clinical
- Owner: insightsengineering
- License: other
- Created: 2021-07-05T21:42:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T14:46:20.000Z (3 months ago)
- Last Synced: 2025-04-09T15:41:56.529Z (3 months ago)
- Topics: clinical-trials, modules, nest, outputs, r, shiny
- Language: R
- Homepage: https://insightsengineering.github.io/teal.modules.clinical/
- Size: 81.3 MB
- Stars: 36
- Watchers: 24
- Forks: 18
- Open Issues: 93
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- top-pharma50 - **insightsengineering/teal.modules.clinical** - trials`, `modules`, `nest`, `outputs`, `r`, `shiny`<br><img src='https://github.com/HubTou/topgh/blob/main/icons/gstars.png'> 29 <img src='https://github.com/HubTou/topgh/blob/main/icons/forks.png'> 13 <img src='https://github.com/HubTou/topgh/blob/main/icons/code.png'> R <img src='https://github.com/HubTou/topgh/blob/main/icons/license.png'> Other <img src='https://github.com/HubTou/topgh/blob/main/icons/last.png'> 2024-06-07 21:36:01 | (Ranked by starred repositories)
- top-pharma50 - **insightsengineering/teal.modules.clinical** - trials`, `modules`, `nest`, `outputs`, `r`, `shiny`<br><img src='https://github.com/HubTou/topgh/blob/main/icons/gstars.png'> 29 <img src='https://github.com/HubTou/topgh/blob/main/icons/forks.png'> 13 <img src='https://github.com/HubTou/topgh/blob/main/icons/code.png'> R <img src='https://github.com/HubTou/topgh/blob/main/icons/license.png'> Other <img src='https://github.com/HubTou/topgh/blob/main/icons/last.png'> 2024-06-07 21:36:01 | (Ranked by starred repositories)
- awesome-shiny-extensions - teal.modules.clinical - A set of teal modules for standard clinical outputs. (Frameworks / Framework extensions)
README
# teal.modules.clinical
[](https://cran.r-project.org/package=teal.modules.clinical)
[](https://cran.r-project.org/package=teal.modules.clinical)
[](https://cran.r-project.org/package=teal.modules.clinical)
[](https://cran.r-project.org/package=teal.modules.clinical)[](https://insightsengineering.github.io/teal.modules.clinical/main/unit-test-report/) [](https://insightsengineering.github.io/teal.modules.clinical/)







[](https://www.repostatus.org/#active)
[](https://github.com/insightsengineering/teal.modules.clinical/tree/main)
[](https://github.com/insightsengineering/teal.modules.clinical/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)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()`)
- ...
- Statistical model fits:
- MMRM (`tm_a_mmrm()`)
- Logistic regression (`tm_t_logistic()`)
- Cox regression (`tm_t_coxreg()`)
- ...
- Summary tables:
- Unique patients (`tm_t_summary()`)
- Exposure across patients (`tm_t_exposure()`)
- Change from baseline for parameters (`tm_t_summary_by()`)
- ...
- 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()`)
- ...Most modules in the package are implemented using functions from the R package [`tern`](https://insightsengineering.github.io/tern/) in order to produce their output.
Please see the [Teal Gallery](https://insightsengineering.github.io/teal.gallery/) and [TLG Catalog](https://insightsengineering.github.io/tlg-catalog/) for examples of `shiny` apps created using modules from this package.
## Installation
```r
install.packages('teal.modules.clinical')
```Alternatively, you might want to use the development version.
```r
# install.packages("pak")
pak::pak("insightsengineering/teal.modules.clinical")
```## Usage
To understand how to use this package, please refer to the [Getting Started](https://insightsengineering.github.io/teal.modules.clinical/latest-tag/articles/teal-modules-clinical.html) article, which provides multiple examples of code implementation.
## Playground
You can try out the package without installing it in the Shinylive:
* [stable](https://shinylive.io/r/editor/#code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAGwEsAjAJykYE8AKcqajGIgEwCu1OAGcMBOhFoFuASgA6EMAF8AukA)
* [development](https://shinylive.io/r/editor/#code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMI1UgSxIGcAKAdzgCMAnAfVQGsA5jy5xURRgAIAvJILMAOmC4BaAK4Q6ANzhdGcJTMlKAFqVKpGiAPTXUJqFxhQdeuBlUbtu-RgAmcFpKuJKCcKQA8rQMEIpg7Nx8QiJiEkoAlJkKEAA2dNyOAJ7M5FA5GDBEfmo5cIwYBHmaBGXp2WAAvgC6QA)## Getting help
If you encounter a bug or have a feature request, please file an issue. For questions, discussions, and staying up to date, please use the `teal` channel in the [`pharmaverse` slack workspace](https://pharmaverse.slack.com).
## Acknowledgment
This package is the result of the joint efforts of many developers and stakeholders. We would like to thank everyone who has contributed so far!
## Stargazers and Forkers
### Stargazers over time
[](https://starchart.cc/insightsengineering/teal.modules.clinical)
### Stargazers
[](https://github.com/insightsengineering/teal.modules.clinical/stargazers)
### Forkers
[](https://github.com/insightsengineering/teal.modules.clinical/network/members)