Learn R Programming

synRNASeqNet (version 1.0)

plotROC: Plot ROC Curve

Description

A function that automatically produce a plot of the ROC (Receiver Operating Characteristic) Curve.

Usage

plotROC(piNet, ...)

Arguments

piNet
the matrix generated from the performanceIndex function.
...
other parameters to be added to the plot function.

See Also

plotPR

Examples

Run this code
simData <- simulatedData(p = 10, n = 20, mu = 100, sigma = 0.25,
                        ppower = 0.73, noise = FALSE)
counts <- simData$counts
adjMat <- simData$adjMat

miML <- parMIEstimate(counts, method = "ML", unit = "nat", nchips = 2)
valML <- performanceIndex(miML, adjMat)

plotROC(valML, col = "red")

Run the code above in your browser using DataLab