compare_immune_response: Comparison of the actual predictions based on different...

Description Usage Arguments Value

View source: R/compare_immune_response.R

Description

compare_response plots ROC curves and barplots showing the accuracy of the predictions on the real patient response data. It receives as input the predicted immune response as well as the real patient response (they should be provided with the same order of samples). Gold standards are also plotted to consider them as reference. To compute these gold standards, transcriptomics data in different formats is provided. An output file path should be given to save the plots as pdfs. An additional input must be a list with the gold standards the user wish to compare the prediction results.

Usage

1
2
3
4
5
6
7
8
compare_immune_response(
  predictions_immune_response = NULL,
  real_patient_response,
  RNA.tpm,
  output_file_path,
  list_gold_standards,
  cancertype
)

Arguments

predictions_immune_response

list that contains the predictions for each model

real_patient_response

vector with two factors (NR,R)

RNA.tpm

numeric matrix with data

output_file_path

string with a file name

list_gold_standards

string with gold standards names

cancertype

specify cancer type

Value

ROC curves plots and barplots showing AUC values.


olapuentesantana/easier_manuscript documentation built on Sept. 22, 2021, 9:42 p.m.