Jens Sauer d96e3c5ed8 utils: Move library() calls to beginning of file
It seems that calling library() within a function may fail silently.
Moving them out of the function at the beginning of utils.R fixes this.
One particular place, where all necessary libraries are loaded, seem to
be a much easier way than inside a function.
2020-11-18 10:26:45 +01:00
2020-11-17 19:49:08 +01:00
2020-11-17 18:21:54 +01:00
2020-11-17 18:21:54 +01:00
2020-11-17 18:21:54 +01:00
2020-11-17 18:17:40 +01:00

secMalASCT statistical analysis

How to run

  1. Clone the repository
  2. Open R and source one of the R files

survival.R

Source this file and call one of the plot functions to show plot in R. sma_plot_file_surv() will save all plots to files.

secmal.R

This file contains the secondary malignancy plots. You can call the functions in R or sma_plot_file_secmal() to save them to files.

plots.R

Special script to generate all plots and save them in files. Run with Rscript plots.R

Dependencies

  • git
  • R

R packages used

  • tidyverse
  • survival
  • survminer
Description
No description provided
Readme 184 KiB