performanceIndex: Evalutate Performance Indices

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

View source: R/performanceIndex.R

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) for each mutual information threshold.

Usage

1
performanceIndex(testNet, gsNet)

Arguments

testNet

a predicted adjacency matrix to evaluate.

gsNet

the true adjacency matrix.

Value

The performanceIndex function returns a data.frame with the considered performance indices for each mutual information threshold.

Author(s)

Luciano Garofano [email protected], 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, performanceNET

Examples

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

lucgar/synRNASeqNet documentation built on May 21, 2017, 3:39 p.m.