Package: multigrain 1.0.0

Alex Spiers

multigrain: Optimise Graphical Approaches to Multiple Testing Procedures

Find the optimal graphical multiple testing procedure for confirmatory clinical trials that test several hypotheses across endpoints, doses, or subpopulations. Choose the graph maximising an explicit gain-function: a user-defined measure of trial success that scores each possible set of rejected hypotheses. Given simulated p-values, search over hypothesis weights and transition weights to maximise expected trial success. Conventional power criteria are recovered and the family-wise error rate is strongly controlled due to the search being confined to graphical procedures. Described in Spiers, Grayling, Wheeler, and Mander (2026) "Gain-function optimisation of graphical multiple testing procedures for confirmatory clinical trials" <doi:10.48550/arXiv.2609.19994>.

Authors:Alex Spiers [aut, cre], Dragoș Moldovan-Grünfeld [aut], GlaxoSmithKline Research & Development Limited [cph, fnd]

multigrain_1.0.0.tar.gz
multigrain_1.0.0.zip(r-4.7-x86_64)multigrain_1.0.0.zip(r-4.7-arm64)multigrain_1.0.0.zip(r-4.6-x86_64)multigrain_1.0.0.zip(r-4.6-arm64)
multigrain_1.0.0.tar.gz(r-4.7-arm64)multigrain_1.0.0.tar.gz(r-4.7-x86_64)multigrain_1.0.0.tar.gz(r-4.6-arm64)multigrain_1.0.0.tar.gz(r-4.6-x86_64)
multigrain_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
multigrain/json (API)

# Install 'multigrain' in R:
install.packages('multigrain', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gsk-biostatistics/multigrain/issues

Pkgdown/docs site:https://gsk-biostatistics.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

1.70 score 9 scripts 18 exports 58 dependencies

Last updated from:2e7c6f94f9. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK189
linux-devel-x86_64OK245
source / vignettesOK215
linux-release-arm64OK204
linux-release-x86_64OK189
windows-devel-arm64OK376
windows-devel-x86_64OK312
windows-release-arm64OK391
windows-release-x86_64OK258
wasm-releaseOK116

Exports:calc_ncpcalc_power_pvalscontrol_globalcontrol_localcontrol_nsim_globalcontrol_nsim_localgraph_constraintgraph_constraint_freegraph_optimal_get_controlgraph_optimisegraph_optimizegraph_randomis_graph_validmultigrain_controlmultigrain_verbositynormalise_sumsimulate_pvaluestrial_success

Dependencies:base64enccachemclicodetoolscpp11crayondplyrfarverfastmapforeachGAgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobanditeratorsjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisemvtnormnloptrpillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppParallelrlangS7scalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewithr