Skip to content

Treatment Patterns Module#408

Draft
SivamshIndukuri wants to merge 15 commits intoOHDSI:developfrom
SivamshIndukuri:issue-407-treatment-patterns-module
Draft

Treatment Patterns Module#408
SivamshIndukuri wants to merge 15 commits intoOHDSI:developfrom
SivamshIndukuri:issue-407-treatment-patterns-module

Conversation

@SivamshIndukuri
Copy link
Copy Markdown

@SivamshIndukuri SivamshIndukuri commented Jan 14, 2026

treatment-patterns-main.R

Purpose: UI and server for selecting which treatment-pattern analyses to view.
Exports: treatmentPatternsViewer, treatmentPatternsServer

treatment-patterns-overview.R

Purpose: Shows sunburst plots across selected analyses and databases.
Exports: treatmentPatternsOverviewViewer, treatmentPatternsOverviewServer

treatment-patterns-table.R
Purpose: Tabular data for treatment-pattern results across analyses and databases.
Exports: treatmentPatternsTabularViewer, treatmentPatternsTabularServer

Provides four tables:
Pathways table: displays the pathways for each analyses and databases
Event Count Table: shows the frequency of pathways that have each event
Event Rank: shows the frequency of each event at each rank
Duration Table: shows the event duration per rank

treatment-patterns-sankey.R

Purpose: Shows Sankey diagrams across selected analyses and databases
Exports: treatmentPatternsSankeyViewer, treatmentPatternsSankeyServer

components-sankey.R

Purpose: Sankey helper functions to build grouped Sankey plots. Provides a helper that splits input data by filterColumn to produce multiple Sankeys.

Key parameters:
sankeyList: provides values in the filterColumn to create separate grouped sankey plots
filterColumn: string name of a column in the input data to split by (e.g., "databaseName"). The helper will compute sankey inputs for each value defined in sankeyList

components-sunburstPlot.R

Purpose: Sunburst helper functions to build grouped Sunburst plots. Provides a helper that splits input data by filterColumn to produce multiple Sankeys.

Key parameters:
sunburstList: provides values in the filterColumn to create separate grouped sunburstPlot plots
filterColumn: string name of a column in the input data to split by (e.g., "databaseName"). The helper will compute sankey inputs for each value defined in sankeyList

Ex:
filterColumn = 'databaseName'
sunburstList = list(database1, database2)
this will make 2 sunburst plots filtered in the 2 databases

@anthonysena anthonysena added this to the v3.5 milestone Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants