gsDesign

Group sequential design for clinical trials

https://github.com/keaven/gsdesign

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 28 committers (3.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.2%) to scientific vocabulary

Keywords

biostatistics boundaries clinical-trials design r spending-functions

Keywords from Contributors

ectd packaging-tool pharmaverse latex
Last synced: 6 months ago · JSON representation

Repository

Group sequential design for clinical trials

Basic Info
Statistics
  • Stars: 51
  • Watchers: 8
  • Forks: 13
  • Open Issues: 19
  • Releases: 17
Topics
biostatistics boundaries clinical-trials design r spending-functions
Created over 8 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License

README.md

gsDesign

CRAN status Codecov test coverage pkgdown R-CMD-check shinyapps.io <!-- badges: end -->

The gsDesign package supports group sequential clinical trial design, largely as presented in the book Group Sequential Methods with Applications to Clinical Trials by Christopher Jennison and Bruce Turnbull (Chapman and Hall/CRC, 2000). An easy-to-use web interface to both enable usage without coding and to generate code to be able to reproduce the design; this is being enhanced to support more features on an ongoing basis. See the talk presented at the R/Pharma Conference to get started with the web interface.

Installation

```r

The easiest way to get gsDesign is to install:

install.packages("gsDesign")

Alternatively, install development version from GitHub:

install.packages("remotes")

remotes::install_github("keaven/gsDesign") ```

Description

While there is a strong focus on designs using α and β spending functions, Wang-Tsiatis designs, including O'Brien-Fleming and Pocock designs, are also available. The ability to design with non-binding futility rules allows control of Type I error in a manner acceptable to regulatory authorities when futility bounds are employed. Particular effort has gone into designs with time-to-event endpoints.

Most routines are designed to provide simple access to commonly used designs using default arguments. Standard, published spending functions are supported as well as the ability to write custom spending functions. A plot function provides a wide variety of plots summarizing designs: boundaries, power, estimated treatment effect at boundaries, conditional power at boundaries, spending function plots, expected sample size plot, and B-values at boundaries.

While the main design functions, gsDesign() and gsSurv() have a complex output, the function gsBoundSummary() provides a simple summary of a design in a data frame that can be useful for printing in a document.

Thus, the intent of the gsDesign package is to easily create, fully characterize and even optimize routine group sequential trial designs as well as provide a tool to evaluate innovative designs.

A little history

Updates in late 2018 and early 2019 largely enabled by Metrum Research Group (Devin Pastoor, Harsh Baid, Jonathan Sidi). These include, but are not limited to, converting unit testing to use testthat package as well as developing the github web pages and implementing covrpage to document unit testing. Yilong Zhang implemented 3.1.1 continuous integration at github. 2020 collaborations with Cytel, Inc. increased unit testing coverage to > 80% in version 3.2.0 from essential unit testing done long ago. Much earlier development, testing and documentation help were lead largely by Bill Constantine and Rich Calaway while they were with Revolution Computing. Thanks to John Lueders for his excellent and extensive collaboration building the Shiny app; more recent Shiny development done by Nan Xiao adds significant features such as saving and reloading designs and creating default Rmarkdown reports.

Owner

  • Name: Keaven
  • Login: keaven
  • Kind: user
  • Location: Pennsylvania
  • Company: Merck Research Laboratories

Keaven Anderson is a statistician who has supported the gsDesign R package for group sequential design since 2006.

GitHub Events

Total
  • Create event: 24
  • Release event: 3
  • Issues event: 39
  • Watch event: 2
  • Delete event: 22
  • Issue comment event: 37
  • Push event: 97
  • Pull request review event: 14
  • Pull request review comment event: 4
  • Pull request event: 60
Last Year
  • Create event: 24
  • Release event: 3
  • Issues event: 39
  • Watch event: 2
  • Delete event: 22
  • Issue comment event: 37
  • Push event: 97
  • Pull request review event: 14
  • Pull request review comment event: 4
  • Pull request event: 60

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 899
  • Total Committers: 28
  • Avg Commits per committer: 32.107
  • Development Distribution Score (DDS): 0.761
Past Year
  • Commits: 111
  • Committers: 5
  • Avg Commits per committer: 22.2
  • Development Distribution Score (DDS): 0.495
Top Committers
Name Email Commits
Keaven t****q@y****m 215
keaven k****n@e****b 209
Nan Xiao me@n****e 153
wconstan w****n@e****b 110
Harsh Baid h****b@m****m 34
Yilong Zhang y****g@m****m 30
tonypujals t****s@e****b 26
tony t****"@e****b 16
John Blischak j****k@g****m 16
b1uetrane b****e@e****b 14
Wang, Benjamin b****g@m****m 13
Devin Pastoor d****p@m****m 12
Amin Shirazi a****i@m****m 9
Jonathan Sidi y****s@m****m 8
Devin Pastoor d****r@g****m 7
myeongjong k****t@g****m 5
pcombes p****s@e****b 5
Anderson A****a@m****m 4
yilong zhang e****7@g****m 3
Amin Shirazi a****i@i****u 2
wanjau_merck d****u@m****m 1
stefan7th s****h@e****b 1
lumeng2 m****u@m****m 1
dnadave d****e@e****b 1
anderkea a****a@c****m 1
Eric Anderson a****e@m****m 1
Teun van den Brand t****d@g****m 1
Zhao, Yujie y****o@m****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 99
  • Total pull requests: 136
  • Average time to close issues: 8 months
  • Average time to close pull requests: 16 days
  • Total issue authors: 13
  • Total pull request authors: 15
  • Average comments per issue: 0.99
  • Average comments per pull request: 0.38
  • Merged pull requests: 119
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 18
  • Pull requests: 53
  • Average time to close issues: 17 days
  • Average time to close pull requests: 10 days
  • Issue authors: 5
  • Pull request authors: 4
  • Average comments per issue: 0.39
  • Average comments per pull request: 0.47
  • Merged pull requests: 46
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nanxstats (58)
  • keaven (18)
  • LittleBeannie (7)
  • elong0527 (5)
  • DanChaltiel (2)
  • mrkaye97 (1)
  • kinto-b (1)
  • barracuda156 (1)
  • snailymj (1)
  • mohuangx (1)
  • tianxiaowen (1)
  • matthewwardrop (1)
  • wyf88 (1)
Pull Request Authors
  • nanxstats (88)
  • keaven (22)
  • jdblischak (20)
  • elong0527 (10)
  • DMuriuki (7)
  • wangben718 (4)
  • ashirazist (3)
  • menglu2 (2)
  • myeongjong (2)
  • teunbrand (2)
  • dpastoor (1)
  • andersone1 (1)
  • LittleBeannie (1)
  • danielwoodie (1)
  • danielinteractive (1)
Top Labels
Issue Labels
enhancement (14) question (10) help wanted (10) cran (8) bug (6) Priority: [1] Low (5) Priority: [2] Medium (5) Low priority (5) documentation (5) 2024-q3 (5) testing (3) Priority: [3] High (2) High priority (2) Medium priority (1)
Pull Request Labels
documentation (1)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 3,007 last-month
  • Total docker downloads: 21,777
  • Total dependent packages: 12
  • Total dependent repositories: 16
  • Total versions: 34
  • Total maintainers: 1
cran.r-project.org: gsDesign

Group Sequential Design

  • Versions: 34
  • Dependent Packages: 12
  • Dependent Repositories: 16
  • Downloads: 3,007 Last month
  • Docker Downloads: 21,777
Rankings
Dependent packages count: 5.0%
Forks count: 6.9%
Dependent repos count: 7.1%
Stargazers count: 7.6%
Average: 8.5%
Downloads: 11.8%
Docker downloads count: 12.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • ggplot2 >= 0.9.2 depends
  • dplyr * imports
  • graphics * imports
  • magrittr * imports
  • methods * imports
  • rlang * imports
  • stats * imports
  • tidyr * imports
  • tools * imports
  • xtable * imports
  • covr * suggests
  • gMCP * suggests
  • gridExtra * suggests
  • gt * suggests
  • kableExtra * suggests
  • knitr * suggests
  • mvtnorm * suggests
  • ragg * suggests
  • rmarkdown * suggests
  • scales * suggests
  • testthat * suggests
  • tibble * suggests
  • utils * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite