phecap_plot_roc_curves.Rd
Plot ROC-like curves to illustrate phenotyping accuracy.
phecap_plot_roc_curves( x, axis_x = "1 - spec", axis_y = "sen", what = c("training", "random-splits", "validation"), ggplot = TRUE, ...)
x | either a single object of class PhecapModel or PhecapValidation
(returned from |
---|---|
axis_x | an expression that leads to the |
axis_y | an expression that leads to the |
what | The curves to be included in the figure. |
ggplot | if TRUE and ggplot2 is installed, ggplot will be used for the figure. Otherwise, the base R graphics functions will be used. |
... | arguments to be ignored. |
See PheCAP-package
for code examples.