View source: R/machineLearning.R
mlPredictROC | R Documentation |
Calculates the ROC curve with the machine learning model and new data.
mlPredictROC(mlmod, newdt, prepro_obj, groupvar, posclass)
mlmod |
A machine learning model with a predict method with "prob" option. |
newdt |
A SummarizedExperiment or ExpressionSet object with the test data |
groupvar |
A numeric or string indicating the variable from the phenodata to use for grouping (must be a factor of length two). |
posclass |
A string indicating the positive class from the groupvar |
A ROC curve plot
Jordi Rofes Herrera
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.