Manually generate ROCs from an xpdb object.
Usage
xplot_rocplot(
xpdb,
mapping = NULL,
type = "c",
guide = TRUE,
xscale = "continuous",
yscale = "continuous",
group = NULL,
title = NULL,
subtitle = NULL,
caption = NULL,
tag = NULL,
plot_name = "xplot_rocplot",
gg_theme,
xp_theme,
opt,
quiet,
thres_fixed = 0.5,
like_col = NULL,
obs_col = NULL,
obs_target = NULL,
auc_sprintf = "AUC: %.3f",
...
)
Arguments
- xpdb
<
xp_xtras
> or <xpose_data
> object- mapping
ggplot2
style mapping- type
See Details.
- guide
Should the guide (e.g. unity line) be displayed.
- xscale
Defaults to
continuous
.- yscale
Defaults to
continuous
.- group
Grouping for curves or points
- title
Plot title
- subtitle
Plot subtitle
- caption
Plot caption
- tag
Plot tag
- plot_name
Metadata name of plot
- gg_theme
As in
xpose
- xp_theme
As in
xpose
- opt
Processing options for fetched data
- quiet
Silence extra debugging output
- thres_fixed
Fixed threshold value for space
- like_col
Column for likelihood/probability value
- obs_col
Column for observed value
- obs_target
Target observed value for likelihood
- auc_sprintf
Format to apply to AUC label
- ...
Any additional aesthetics.