Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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