graphMTP: An R Shiny Interface for Graphical Multiple Testing and Interim Monitoring
Authors/Creators
Contributors
Project leader (2):
Project member (2):
Description
Graphical multiple testing procedures provide a framework for controlling the family-wise error rate across endpoints, treatment comparisons, and patient populations in confirmatory clinical trials. Interim monitoring requires analysts to track changing local significance levels together with hypothesis-specific testing schedules. We present graphMTP, an R application built with shiny, for constructing hypothesis graphs, specifying per-hypothesis group-sequential plans, and inspecting alpha recycling. The application uses TrialSimulator for graph updates, gsDesign for spending profiles, and rpact for boundary calculations. It records the local levels, boundaries, and decisions used for each submitted test and exports designs and histories as JSON files. Worked examples cover fixed-design reallocation, fixed-sequence gatekeeping, delayed activation, and retesting a previously monitored recipient of alpha. Replication code checks graph updates, normal crossing probabilities, and saved-session replay. Sequential tests use a prespecified information schedule and reconstruct the complete local boundary family at the current allocation, including after recycling. Historical event records retain the boundaries actually used.
Software source repository: https://github.com/valle1306/graphical-testing-procedure.
Files
graphMTP_JSM2026.pdf
Additional details
Related works
- Is supplemented by
- Software: https://github.com/valle1306/graphical-testing-procedure (URL)
Software
- Repository URL
- https://github.com/valle1306/graphical-testing-procedure
- Programming language
- R