Research Tools
Research tools enable state-of-the-art data analysis at Swisstransplant.
Basic statistics software
The basic statistics software enables statistical reporting for research projects and national statistics about organ donation and transplantation. They also allow the development of statistical tools at Swisstransplant, such as data pipelines or Shiny applications.
- The R Project for Statistical Computing https://stat.ethz.ch/CRAN/
- Rstudio Desktop https://posit.co/download/rstudio-desktop/
- Quarto https://quarto.org/docs/download/
The RStudio desktop installer for Windows 10 requires administrator rights. However, it is possible to download a zip bundle from the download page, unpack the files into a folder, for example, software
, and create a shortcut with rstudio.exe
on the desktop or the taskbar.
Advanced software
Software for advanced tasks is listed below, for example, for updating this web portal on GitHub, or for R package building.
- Git version control system https://git-scm.com/downloads
- RTools https://cran.r-project.org/bin/windows/Rtools/
Swisstransplant R package
The Swisstransplant R package swt
is the Swiss army knife for data analysis at Swisstransplant. It is under constant development.
Statistical Reporting:
- A Quarto statistical report template in the Swisstransplant in-house style
- Swisstransplant color scheme
swt_colors()
- A ggplot style called
swt_style()
for data figures styling - Tidy functions to nicely format p-values, regression models, and descriptive statistics
Research:
- HLA mismatch calculator designed for the antigens format as found in SOAS
- Prognostic models for individual predictions of patients (e.g., KIDMO)
- Tools to read and process data from the LifePort kidney transporter
The source code is developed on GitHub, and a package manual is available. The package swt
can be installed from within RStudio as follows (requires the package remotes
):
::install_github("Swisstransplant/swt") remotes
R cookbook
The R cookbook demonstrates the usage of the Swisstransplant R package swt
to make high-quality reports and publication-ready graphics in our in-house style.