Description Usage Arguments Value
View source: R/compare_immune_response.R
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.
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
)
|
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 |
ROC curves plots and barplots showing AUC values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.