All opinions expressed are those of the presenter and not Merck Sharp & Dohme Corp., a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA.
Some slides need to be scrolled down to see the full content.
November 2021
All opinions expressed are those of the presenter and not Merck Sharp & Dohme Corp., a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA.
Some slides need to be scrolled down to see the full content.
“FDA does not require use of any specific software for statistical analyses, and statistical software is not explicitly discussed in Title 21 of the Code of Federal Regulations [e.g., in 21CFR part 11]. However, the software package(s) used for statistical analyses should be fully documented in the submission, including version and build identification.”
“Sponsors should provide the software programs used to create all ADaM datasets and generate tables and figures associated with primary and secondary efficacy analyses. Furthermore, sponsors should submit software programs used to generate additional information included in Section 14 CLINICAL STUDIES of the Prescribing Information (PI)26 if applicable. The specific software utilized should be specified in the ADRG. The main purpose of requesting the submission of these programs is to understand the process by which the variables for the respective analyses were created and to confirm the analysis algorithms. Sponsors should submit software programs in ASCII text format; however, executable file extensions should not be used.”
We share the same philosophy described in Section 1.1 of the R Packages book and quote here.
Details will be skipped in today’s talk.
Tools:
gsDesign
: an R package for group sequential design under proportional hazards.simtrial
: an experimental R package for simulation-based group sequential design under non-proportional hazardsgsDesign2
and gsdmvn
: an experimental R package for analytical-based group sequential design under proportional hazards.Bookdown: https://keaven.github.io/gsd-deming/
Training: December 6th, Deming Conference 2021
Tools:
pkglite
: represent and exchange R package source code as text files.cleanslate
(under internal validation): create portable R environments.Bookdown: https://r4csr.org/
Training: December 2nd, Short course for ASA Princeton-Trenton Chapter
r2rtf is designed to:
%>%
)r2rtf is designed to be pipe-friendly (%>%
)
head(iris) %>% rtf_body() %>% # Step 1 Add table attributes rtf_encode() %>% # Step 2 Convert attributes to RTF encode write_rtf("minimal.rtf") # Step 3 Write to a .rtf file
pkglite
reimagines the way to represent R packages.
library("pkglite") "/path/to/pkg/" %>% collate(file_ectd(), file_auto("inst/")) %>% pack() pack( "/path/to/pkg1/" %>% collate(file_ectd()), "/path/to/pkg2/" %>% collate(file_ectd()), output = "/path/to/pkglite.txt" ) "/path/to/pkglite.txt" %>% unpack(output = "/path/to/output/", install = TRUE)
Website: https://merck.github.io/pkglite/
.Rproj
, .Rprofile
, .Renviron
)library("cleanslate") "portable-project/" %>% use_project(repo = "https://url/snapshot/2021-11-20/") %>% use_rprofile() %>% use_renviron() %>% use_r_version(version = "4.1.1") %>% use_rtools(version = "rtools40")
Within a regulatory R environment:
As a statistician, I use tidyverse, r2rtf, and internal tools to define the mock-up table, listing and figure (TLFs) for statistical analysis of a clinical trial.
As a programmer, I use tidyverse, r2rtf, and internal tools to develop and/or validate analysis results based on mock-up TLFs.
As a statistican/programmer, I use pkglite
and internal tools to prepare proprietary R packages and analysis R scripts for eCTD submission package.
As an internal/external reviewer, I use cleanslate
to re-construct a portable environment (if required) to reproduce analysis results.
More details: https://r4csr.org/
We recommended to use R package structure to organize standard tools, analysis projects, and Shiny apps.
More details: https://r4csr.org/project-folder.html
More details: https://r4csr.org/project-management.html