Package: multigrain 1.0.0.9002

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.9002.tar.gz
multigrain_1.0.0.9002.zip(r-4.7-x86_64)multigrain_1.0.0.9002.zip(r-4.7-arm64)multigrain_1.0.0.9002.zip(r-4.6-x86_64)multigrain_1.0.0.9002.zip(r-4.6-arm64)multigrain_1.0.0.9002.zip(r-4.5-x86_64)
multigrain_1.0.0.9002.tgz(r-4.6-x86_64)multigrain_1.0.0.9002.tgz(r-4.6-arm64)multigrain_1.0.0.9002.tgz(r-4.5-x86_64)multigrain_1.0.0.9002.tgz(r-4.5-arm64)
multigrain_1.0.0.9002.tar.gz(r-4.7-arm64)multigrain_1.0.0.9002.tar.gz(r-4.7-x86_64)multigrain_1.0.0.9002.tar.gz(r-4.6-arm64)multigrain_1.0.0.9002.tar.gz(r-4.6-x86_64)
multigrain_1.0.0.9002.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://gsk-biostatistics.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

3.48 score 1 stars 9 scripts 98 downloads 18 exports 58 dependencies

Last updated from:508d0b7914. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK197
linux-devel-x86_64OK198
source / vignettesOK360
linux-release-arm64OK198
linux-release-x86_64OK185
macos-release-arm64OK209
macos-release-x86_64OK636
macos-oldrel-arm64OK201
macos-oldrel-x86_64OK598
windows-devel-arm64OK390
windows-devel-x86_64OK209
windows-release-arm64OK396
windows-release-x86_64OK256
windows-oldrel-x86_64OK237
wasm-releaseOK123

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