This repository contains code and data to reproduce analysis in the research article:
- "Pacemaker Risk Following Transcatheter Aortic Valve Replacement - A Bayesian Reanalysis" (now published on International Journal of Cardiology)
Authors: Arthur M. Albuquerque and James M. Brophy
There are four main folders in this repository:
analysis: code for Kaplan-Meier curve individual patient data (IPD) extraction and Bayesian model fittingdata: IPD csv filesoutput: Intermediary data and model fits filessubmission: Manuscript-related files, such as the RMarkdown file with full manuscript and analyses
All analyses were conducted in R (R Environment version 4.1.2).
-
To download all files and reproduce our analyses, clone this repository using Git's integration with RStudio. Here is a tutorial article in case you are not familiar with cloning repositories:
Vuorre M, Curley JP. Curating Research Assets: A Tutorial on the Git Version Control System. Advances in Methods and Practices in Psychological Science 2018;1:219–36. https://doi.org/10.1177%2F2515245918754826
After cloning this repository, open the
tavr_pace.Rprojfile and you will be able to run all files. -
We used the R package {renv} to make this R project as reproducible as possible. In summary, {renv} guarantees that all required R packages for this project are downloaded to your computer in the necessary versions. Please check their "Get Started" vignette in case you would like to learn more about it.