Calculates precision of tools
computePrecision(imatrix, outmatrix, absolute = FALSE)
imatrix | true positive matrix, e.g. Klemm-Eguiluz adjacency matrix |
---|---|
outmatrix | matrix with values, e.g. Spearman correlation or other tool output |
absolute | Calculates matches for absolute values if true instead of taking sign into account |
precision score
Compares tool adjacency matrix output to Klemm-Eguiluz adjacency matrices