plot.logreg_screenr | R Documentation |
plot.logreg_screenr
plots the k-fold cross-validated
receiver-operating characteristic for out-of-sample screening performanc,
including confidence intervals on the combinations of the local maxima of
sensitivity and specificity.
## S3 method for class 'logreg_screenr' plot( x, ..., plot_ci = TRUE, conf_level = 0.95, bootreps = 4000, print_auc = TRUE, partial_auc = c(0.8, 1), partial_auc_focus = c("sensitivity", "specificity"), partial_auc_correct = TRUE, type = c("l", "S") )
x |
an object of class |
... |
additional arguments passed to |
plot_ci |
logical indicator for plotting point-wise confidence
intervals at the locally maximum subset of coordinates for
on sensitivity and specificity. Default: |
conf_level |
confidence level in the interval (0,1). Default: 0.95. |
bootreps |
number of bootstrap replications for estimation of confidence intervals. Default: 4000. |
print_auc |
logical indicator for printing the area
under the ROC curve (AUC) on the plot. Default: |
partial_auc |
One of |
partial_auc_focus |
one of |
partial_auc_correct |
logical indictor for transformation of the pAUC
to fall within the range from 0.5 (random guess) to 1.0 (perfect
classification). Default: |
type |
type of plot; one of |
Plot cross-validated (out-of-sample) ROC curve with pointwise confidence
intevals along with the overly optimistic in-sample ROC curve.
plot.lasso_screenr
is an enhanced convenience wrapper for
pROC::plot.roc
.
This function produces a plot as a side effect.
Fawcett T. An introduction to ROC analysis. Pattern Recognition Letters. 2006. 27(8):861-874. https://doi.org/10.1016/j.patrec.2005.10.010
Linden A. Measuring diagnostic and predictive accuracy in disease management: an introduction to receiver operating characteristic (ROC) analysis. Journal of Evaluation in Clinical Practice. 2006; 12(2):132-139. https://onlinelibrary.wiley.com/doi/epdf/10.1111/j.1365-2753.2005.00598.x
Robin X, Turck N, Hainard A, Tiberti N, Lisacek F, Sanchez J-C, Muller M. pROC: an open-source package for R and S+ to analyze and compare ROC curves. BMC Bioinformatics 2011; 12:77. https://www.biomedcentral.com/1471-2105/12/77
## Not run: attach(uniobj2) plot(uniobj2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.