I would like to plot an interactive ROC curve but for data where a decreasing value for a marker (m) increases the likelihood of disease (d). I have followed the general workflow described ( ftp://cran.r-project.org/pub/R/web/packages/plotROC/vignettes/examples.html ) and can successfully generate the ROC curve and make it interactive, but the usual traceability/clickability for the curve seems to stay mapped onto a non-existent curve that would exist if the marker had the typical increasing pattern. Any suggestions for workarounds?
Note: I have used
- geom_roc(increasing = FALSE)
in generating the ROC curve, the issue is not in generating the curve but getting the traceability to function properly.
Thanks in advance for any help!