Skip to content

darwin-eu/DarwinShinyModules

Repository files navigation

DarwinShinyModules

Lifecycle:experimental Build Status codecov.io

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 latest 1.1.0 1.0.0
CohortSurvival latest 1.1.0 1.0.0
IncidencePrevalence latest 1.2.0 1.1.0 1.0.0
TreatmentPatterns latest 3.1.0 3.0.0

Installation

  1. 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
    )
  )
)

License

DarwinShinyModules is licensed under Apache License 2.0

About

An R package containing Shiny modules used by various Darwin Shiny apps

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors