R/plotROC.R

Defines functions plotROC

Documented in plotROC

plotROC <-
function(piNet, ...){
  plot(c(0, piNet[, "FPR"], 1), c(0, piNet[, "Recall"], 1), type = "l",
       xlab = "FP rate", ylab = "TP rate", main = "ROC Curve",
       xlim = 0:1, ylim = 0:1, ...)
  lines(0:1, 0:1, col = "black")
}

Try the synRNASeqNet package in your browser

Any scripts or data that you put into this service are public.

synRNASeqNet documentation built on May 2, 2019, 6:01 a.m.