TreatmentPathways
TreatmentPathways.RdModule that displays the Treatment Pathways from the TreatmentPatterns package.
Super class
DarwinShinyModules::ShinyModule -> TreatmentPathways
Active bindings
colours(
list) Hex colour values used in the Sunburst Plots and Sankey Diagrams.sunburst(
PlotWidget) Module.sankey(
PlotWidget) Module.inputPanel(
InputPanel) Module.tableTable displaying the
treatment_pathwayscsv-file.sunburstOverview(
list) Containing SunburstPlotWidgetmodules.treatmentPathways(
data.frame)cdmSourceInfo(
data.frame)
Methods
Method new()
Initializer method
Usage
TreatmentPathways$new(treatmentPathways, cdmSourceInfo, ...)Examples
{
if (interactive()) {
library(DarwinShinyModules)
tpr <- TreatmentPatterns::TreatmentPatternsResults$new(
filePath = system.file(package = "DarwinShinyModules", "dummyData/TreatmentPatterns/3.0.0/")
)
treatmentPathways <- TreatmentPathways$new(
treatmentPathways = tpr$treatment_pathways,
cdmSourceInfo = tpr$cdm_source_info
)
preview(treatmentPathways)
}
}