|
a |
|
b/README.md |
|
|
1 |
# ctDNA-dynamic-prediction-lung-cancer |
|
|
2 |
Reference scripts for study 'Circulating tumor DNA as markers of dynamic recurrence risk and adjuvant chemotherapy benefit in resected non-small cell lung cancer' |
|
|
3 |
|
|
|
4 |
## run |
|
|
5 |
All analysis are running under R version 4.0.2 |
|
|
6 |
|
|
|
7 |
load_requred_package.R -- To install packages used in this analysis. |
|
|
8 |
|
|
|
9 |
run_joint_model_analysis.R -- To run the model construction and evaluation analysis. |
|
|
10 |
|
|
|
11 |
run_survival_analysis.R -- To run the main survuval analysis in the study. |
|
|
12 |
|
|
|
13 |
## data |
|
|
14 |
Joint_model_data.csv -- data used for model construction and evaluation. |
|
|
15 |
|
|
|
16 |
splits.RDS, split.AD.RDS -- splits for cross validation used in the study. |
|
|
17 |
|
|
|
18 |
Survival_analysis_data.csv -- data used for survival analysis. |
|
|
19 |
|
|
|
20 |
## functions |
|
|
21 |
cross_validation.R -- To construct and evaluate joint model and Cox models by cross validation. |
|
|
22 |
plot_evaluation.R -- To visualize the results of cross validation. |
|
|
23 |
leaveoneout.R -- To construct and evaluate joint model and Cox models by leave one out cross validation. |
|
|
24 |
reliability_diagram.R -- To apply the Hosmer-Lemeshow (H-L) test and draw the reliability diagrams. |
|
|
25 |
get_survival_plot.R -- To draw the customized Kaplan Meier plot. |