plotPR: Plot PR Curve

Description Usage Arguments Author(s) See Also Examples

View source: R/plotPR.R

Description

A function that automatically produce a plot of the PR (Precision/Recall) Curve.

Usage

1
plotPR(piNet, ...)

Arguments

piNet

the matrix generated from the performanceIndex function.

...

other parameters to be added to the plot function.

Author(s)

Luciano Garofano lucianogarofano88@gmail.com, Stefano Maria Pagnotta, Michele Ceccarelli

See Also

plotROC

Examples

1
2
3
4
5
6
7
8
9
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)

plotPR(valML, col = "red")

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