|
|
@@ -273,7 +273,7 @@ simple.plotROCgg<-function(df,vars,cols,x=0.7,y=0.3,unit="ml",precise="FALSE",ta
|
|
|
lab <- base::sprintf("[%s] AUC: %.2f (+- %.2f), OPT THR: %.2f",
|
|
|
var, auc, sAUC, roc_metrics$threshold)
|
|
|
|
|
|
- g<-g+ggplot2::geom_line(ggplot2::aes(x=!!roc$FPR,y=!!roc$TPR,color=!!lab),position=position_dogde(width=0.2))
|
|
|
+ g<-g+ggplot2::geom_line(ggplot2::aes(x=!!roc$FPR,y=!!roc$TPR,color=!!lab),position=ggplot2::position_dogde(width=0.2))
|
|
|
aes_p=ggplot2::aes(x=!!roc_metrics$FPR,y=!!roc_metrics$TPR,color=!!lab)
|
|
|
g<-g+ggplot2::geom_point(aes_p,size=4,shape=1,show.legend=FALSE)
|
|
|
colors_used<-base::c(colors_used,col)
|