plot_roc: Plot a ROC curve

Description Usage Arguments

View source: R/handle-plots.R

Description

Plots a ROC curve for one or more methods

Usage

1
2
plot_roc(resultsdf, featurelist, topmodel = FALSE, addhighconf = FALSE,
  truth = TMScore, cutoff = 0.5, rev = TRUE, relabel = TRUE)

Arguments

resultsdf

data frame

featurelist

vector. List of methods/features to plot curves for

topmodel

boolean. When true, only the highest-ranking model per target is considered

addhighconf

boolean. When true, the TPR and FPR corresponding to the high confidence cutoff (0.5) is indicated

truth

string. Optional, the score to use to define a correct model (default TMScore). This is only required if the Label column is not already provided.

cutoff

float. Optional, the cutoff to use to define a correct models. See truth.


clarewest/RFQAmodelr documentation built on Jan. 25, 2020, 12:42 a.m.