View source: R/executeTreatmentPatterns.R
executeTreatmentPatterns | R Documentation |
This is the main function which runs all parts of the treatment pathways analysis. The following tasks are performed sequentially: 1) Create target/event cohorts of interest, 2) Optional, only for OMOP-CDM data: Perform baseline characterization of study/target population, 3) Construct treatment pathways, 4) Generate output (sunburst plots, Sankey diagrams and more), 5) Launch shiny application to visualize the results.
executeTreatmentPatterns(
dataSettings,
cohortSettings,
characterizationSettings = NULL,
pathwaySettings,
saveSettings,
runCreateCohorts = TRUE,
runCohortCharacterization = TRUE,
runConstructPathways = TRUE,
runGenerateOutput = TRUE,
launchShiny = TRUE
)
dataSettings |
Settings object as created by createDataSettings(). |
cohortSettings |
Settings object as created by createCohortSettings(). |
characterizationSettings |
Optional, only for OMOP-CDM data: Settings object as created by createCharcterizationSettings(). |
pathwaySettings |
Settings object as created by createPathwaySettings(). |
saveSettings |
Settings object as created by createSaveSettings(). |
runCreateCohorts |
Setting to run 1) createCohorts(). |
runCohortCharacterization |
Optional, only for OMOP-CDM data: Setting to run 2) cohortCharacterization(). |
runConstructPathways |
Setting to run 3) constructPathways(). |
runGenerateOutput |
Setting to run 4) generateOutput(). |
launchShiny |
Setting to run 5) launchResultsExplorer(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.