DrugExposureDiagnostics Module Class
DrugExposureDiagnostics.RdDrugExposureDiagnostics module that shows tables and plots
Details
The module consists of the following:
- "dataPlotPanel"
 Table and a plot (bar or box) for each check.
- "metaDataPanel"
 Table containing the metadata.
Super class
DarwinShinyModules::ShinyModule -> DrugExposureDiagnostics
Methods
Method new()
Initializer method
Usage
DrugExposureDiagnostics$new(resultList, database_id = NULL, ...)Examples
{
library(DarwinShinyModules)
if (require("DrugExposureDiagnostics", character.only = TRUE, quietly = TRUE,
warn.conflicts = FALSE)) {
  ded <- readRDS(system.file(package = "DarwinShinyModules",
                             "dummyData/DrugExposureDiagnostics/1.1.1/ded.rds"))
  mod <- DrugExposureDiagnostics$new(resultList = ded)
  if (interactive()) {
    preview(mod)
  }
}
}