Skip to contents

ROC curve

Functions that operate on the entire ROC curve.

auc()
Calculate area under ROC curve
roc_points()
Calculate ROC curve points

Partial ROC curve

Functions that operate on an specific ROC curve region.

pauc()
Calculate partial area under curve
calc_partial_roc_points()
Calculate ROC curve partial points
calc_curve_shape()
Calculate curve shape over an specific region

Indexes

Local performance metrics.

fp_auc() np_auc()
Sensitivity indexes
sp_auc() tp_auc()
Specificity indexes
cp_auc() ncp_auc()
Concordance indexes

Summarize

Functions to quickly summarize a classifier.

summarize_predictor()
Summarize classifier performance
summarize_dataset()
Summarize classifiers performance in a dataset

Plot

Functions to plot ROC curves of classifiers and derived metrics.

Initialize plot

plot_roc_points()
Plot classifier points of a ROC curve
plot_roc_curve()
Plot a classifier ROC curve
plot_partial_roc_points()
Plot points in a region of a ROC curve
plot_partial_roc_curve()
Plot a section of a classifier ROC curve

Add points to plot

add_roc_points()
Add ROC points plot to an existing one
add_roc_curve()
Add a ROC curve plot to an existing one
add_partial_roc_points()
Add points in a section of a ROC curve to an existing plot
add_partial_roc_curve()
Add a section of a ROC curve to an existing one

Add index bounds

Customize plot

add_chance_line()
Show chance line in a ROC plot
add_fpr_threshold_line() add_tpr_threshold_line() add_threshold_line()
Add a threshold line to a ROC plot
hide_legend()
Hide legend in a ROC plot

Other helpers

sumexp_to_df()
Transform data in a SummarizedExperiment to a data.frame