performanceNET: Evalutate Performance Indices

Description Usage Arguments Value Author(s) References See Also Examples

Description

A function that computes the peformance indices (i.e. "Recall", "FPR", "Precision", "Accuracy", "Fscore") between a predicted adjacency matrix (testNet) and a true one (gsNet) when the false interactions are already removed.

Usage

1
performanceNET(predAdjMat, valAdjMat)

Arguments

predAdjMat

a predicted adjacency matrix to evaluate when the false interactions are already removed.

valAdjMat

the true adjacency matrix.

Value

The performanceIndex function returns a data.frame with the considered performance indices.

Author(s)

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

References

Stehman, S.V. (1997). Selecting and interpreting measures of thematic classification accuracy. Remote Sensing of Environment 62 (1): 77-89.

See Also

simulatedData, mainNetFunction, performanceIndex

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)
miML <- aracne.a(miML, eps = 0.5)

valML <- performanceNET(miML, adjMat)

lucgar/synRNASeqNet documentation built on May 21, 2019, 8:54 a.m.