Skip to contents

Draw ROC curves. Only two groups are allowed. At most 10 variables can be plotted. Currently supported data types:

Usage

plot_roc(x, type = "roc", auc_cutoff = 0.5, ...)

# S3 method for class 'glystats_roc_res'
plot_roc(x, type = "roc", auc_cutoff = 0.5, ...)

# S3 method for class 'glyexp_experiment'
plot_roc(x, type = "roc", auc_cutoff = 0.5, stats_args = list(), ...)

Arguments

x

An object to be plotted.

type

The type of plot, one of "dotplot" or "roc". Default is "roc".

auc_cutoff

The AUC cutoff. Default is 0.5.

...

Ignored.

stats_args

A list of keyword arguments to pass to glystats::gly_roc().

Value

A ggplot object.