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.zip(r-4.5-x86_64)
multigrain_1.0.0.tgz(r-4.6-x86_64)multigrain_1.0.0.tgz(r-4.6-arm64)multigrain_1.0.0.tgz(r-4.5-x86_64)multigrain_1.0.0.tgz(r-4.5-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://dragosmg.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

2.40 score 9 scripts 18 exports 58 dependencies

Last updated from:7884824865. Checks:15 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK209
linux-devel-x86_64OK224
source / vignettesOK228
linux-release-arm64OK201
linux-release-x86_64OK231
macos-release-arm64OK196
macos-release-x86_64OK519
macos-oldrel-arm64OK227
macos-oldrel-x86_64OK363
windows-devel-arm64OK369
windows-devel-x86_64OK321
windows-release-arm64OK348
windows-release-x86_64OK256
windows-oldrel-x86_64OK172
wasm-releaseOK130

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