DarwinShinyModules is an R package containing shiny modules. Each module is represented as an R6 object, which contains pre-specified UI elements, and back-end code.
Features
- Provides pre-specified modules of common shiny app components.
- Provides pre-specified modules for DARWIN EU© analytical pipelines (in progress).
- Ability to overwrite UI elements and the server back-end with bespoke code.
- Compatible with bespoke shiny application development.
- Seamlessly integrate existing
OhdsiShinyModules. - Extend the existing library with your own modules
Package support
| Package | Support |
|---|---|
| CohortCharacteristics |
|
| CohortSurvival |
|
| IncidencePrevalence |
|
| TreatmentPatterns |
|
Installation
- To install the latest stable version:
install.packages(remotes)
remotes::install_github('darwin-eu-dev/DarwinShinyModules')Usage
library(DarwinShinyModules)
irisTable <- Table$new(iris)
carsTable <- Table$new(mtcars)
launchDarwinDashboardApp(
list(
Tables = list(
Iris = irisTable,
MT_Cars = carsTable
)
)
)