How zarathucorp/opencdisc works
openCDISC is a Shiny application for exploring ADaM-like clinical-trial data and producing custom tables and figures. Its user-facing capabilities include data upload and filtering, table generation, population-level plots, and individual-patient exploration; the README highlights Kaplan–Meier, line, heatmap, box, and spaghetti plots. The graph preserves these distinct stages and the application shell. Source excerpts are limited to browser-side table-builder behavior, so most R-module connections are shown as unverified rather than asserted as inspected call paths.
Main entry points: mod_popExp.R Population explorer · mod_shiny_data_filter.R Data filtering · mod_tableGen.R Table generator · mod_indvExpPat.R Patient timeline
Components 22
Application
- Shiny app shell
R/app_ui.R - App server
R/app_server.R
Data workflow
- Data upload
R/mod_dataUpload.R - Data selection
R/mod_selectData.R - Data filtering
R/mod_shiny_data_filter.R - Data compliance
R/mod_dataComply.R
Table generation
- Table generator
R/mod_tableGen.R - Table builder UI
R/mod_tableGen_ui.R - Table statistics
R/mod_tableGen_fct_methods.R - Table recipes
inst/app/www/recipe.js
Population exploration
- Population explorer
R/mod_popExp.R - Kaplan–Meier
R/mod_popExp_km.R - Correlation heatmap
R/mod_popExp_heatCorr.R - Box plots
R/mod_popExp_boxplot.R - Line plots
R/mod_popExp_line.R - Scatter plots
R/mod_popExp_scatter.R - Spaghetti plots
R/mod_popExp_spaghetti.R
Individual exploration
- Individual explorer
R/mod_indvExp_srv.R - Patient timeline
R/mod_indvExpPat.R - Patient events
R/mod_indvExpPatEvents.R - Patient visits
R/mod_indvExpPatVisits.R
Other components
- Analyst
Connections 20
- Analyst → Shiny app shell: uses
- Shiny app shell → App server: dispatches
- Analyst → Data upload: provides data
- Data upload → Data selection: makes available
- Data selection → Data filtering: filters data
- Data filtering → Table generator: supplies data
- Data filtering → Population explorer: supplies data
- Data filtering → Individual explorer: supplies data
- Table generator → Table builder UI: presents builder
- Table builder UI → Table recipes: uses recipes
inst/app/www/recipe.js - Table generator → Table statistics: uses statistics
- Population explorer → Kaplan–Meier: offers analysis
- Population explorer → Correlation heatmap: offers analysis
- Population explorer → Box plots: offers analysis
- Population explorer → Line plots: offers analysis
- Population explorer → Scatter plots: offers analysis
- Population explorer → Spaghetti plots: offers analysis
- Individual explorer → Patient timeline: explores patients
- Patient timeline → Patient events: shows events
- Patient timeline → Patient visits: shows visits