TreatmentPathways
TreatmentPathways.Rd
Module 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.table
Table displaying the
treatment_pathways
csv-file.sunburstOverview
(
list
) Containing SunburstPlotWidget
modules.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)
}
}