rate {netbenchmark} | R Documentation |
rate
compares the infered network to the true underlying network
for all the sorted predictions provided and appends the resulting
confusion matrices to the returned object.
rate(PredEdgeList, GSEdgeList, ngenes, sym)
PredEdgeList |
The inferred network in the form of a EdgeList. |
GSEdgeList |
The true underlying in the form of a EdgeList. |
ngenes |
Integrer denoting the number of total genes in the network. |
sym |
Logical specifying if the evaluation is symmetric
(default: TRUE) - see |
A matrix of numerics with the contingency table for each link in
PredEdgeList
.
Pau Bellot
netbenchmark
, evaluate
,
comp.metr
# Data net <- matrix(0,10,10) net[sample(1:100,20)] <- 1 # Simulated Inference inf <- net+matrix(rnorm(100,sd=0.5),10,10) table <- evaluate(inf,net)