33 lines
660 B
Markdown
33 lines
660 B
Markdown
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
|