Calculates specificity of tools

computeSpecificity(imatrix, outmatrix, absolute = FALSE)

Arguments

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

Value

specificity score

Details

Compares tool adjacency matrix output to Klemm-Eguiluz adjacency matrices