mlPredictROC: Receiver Operand Curve (ROC)

View source: R/machineLearning.R

mlPredictROCR Documentation

Receiver Operand Curve (ROC)

Description

Calculates the ROC curve with the machine learning model and new data.

Usage

mlPredictROC(mlmod, newdt, prepro_obj, groupvar, posclass)

Arguments

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

Value

A ROC curve plot

Author(s)

Jordi Rofes Herrera


jordirofes/OmniOmics documentation built on Nov. 22, 2022, 5:46 a.m.