2024-07-08
This part describes the scripts used to develop and validate the predictive systems for classification of effective and adverse anti-cancer drug combinations using its efficacy and safety estimates.
| Rscript | Scripts/Predictive_model/Feature_selection_EfficacySafety.R |
| Arguments | Mandatory: Optional: |
| Input |
|
| Output | NES_EfficacySafety_selectedFeatures_[disease]_[drug_target_type].csv |
| Summary | The script intakes the NES generated from FGSEA (section 3.2) and performs a one-sided Wilcoxon’s test to identify the features that have statistically significant (p<0.001) differences in the distribution of NES between the effective and adverse drug combinations. The script has been set to use the NES for the combined library consisting the disease and adverse effect related gene sets. For disease related features, the test checks if the effective drug combinations have a higher NES while for the adverse effect related features, it checks if the adverse drug combinations have higher NES. |
| Rscript | Scripts/Predictive_model/train_predictiveSystem_combinedEfficacySafety_NES.R |
| Arguments | Mandatory: Optional: |
| Input |
|
| Output |
|
| Summary | The script trains a predictive system to distinguish effective from adverse drug combinations using the efficacy and safety estimates. Ideally, for each feature, the script identifies a threshold that partitions the effective and adverse drug combinations. The threshold forms the basis of the voting scheme that underlies the predictive system. Additionally, the scripts implements a repeated cross-fold validation framework to understand the variability of the threshold and accuracy of the model on changing data. The final predictive system is trained on the complete data. The output is an R list that contains the logistic regression models for each features that was used for threshold identification, the identified thresholds, and the results from the repeated cross-fold validation framework. |
| Rscript | Scripts/Predictive_model/Validation_data_1.R |
| Arguments | Mandatory: --disease |
| Input |
|
| Output | drugCombs_validation[1/2/3]_[disease].rds |
| Summary | The scripts generate labelled drug combination data that will be used to validate the predictive systems. The output is a data frame with each row representing a drug combination. The columns include the DrugBank drug IDs for the combination, drug combination class and the drug targets. |
| Rscript | Scripts/Predictive_model/Validation_featureGeneration_1.R |
| Arguments | Mandatory: Optional: |
| Input |
|
| Output |
|
| Summary | The scripts takes in the drug combinations identified in section 4.3 and implements the RWR-FGSEA (as described in part 3) framework to return a data frame of the NES for the drug combinations in column against the gene sets in rows. However, since our predictive system is based on the combined efficacy-safety library, the NES for the validation data is generated only for the same. Additionally, the scripts plot the applicibility domain of the validation drug combinations w.r.t the training set drug combinations by considering one efficacy and one safety feature for the scatter plot. |
| Rscript | Scripts/Predictive_model/Validation_prediction_1.R |
| Arguments | Mandatory: Optional: |
| Input |
|
| Output |
|
| Summary | The script uses the predictive system developed in section 4.2 and the efficacy and safety estimates calculated in section 4.4 to generate predictions for the validation data set drug combinations. The primary output is a data frame with the final score and the predicted categories along with other drug information. The script also calculates the accuracy of the prediction and writes it as a separate file. |