diff --git a/README.md b/README.md index ceeb332..399de6b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,27 @@ 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. + +plot_survival.R +--------------- +Special script to generate all plots and save them in files. +Run with `Rscript plot_survival.R` + +Dependencies +------------ +* git +* R R packages used --------------- * tidyverse +* survival * survminer