Compute multiple statistics for tool outputs.
analyseOutput(network, klemmadj, tool, setname, x, n, absolute = TRUE, alldata = NULL)
network | list of networks for one tool |
---|---|
klemmadj | list of Klemm matrices |
tool | toolname |
setname | name of simulation |
x | vector specificying environmental strength or removed species |
n | number of replicates |
absolute | if true: only check for edge presence, not matching sign |
alldata | list of datasets with simulated counts |
mode | "env" or "abundance", env takes environmental strength into account while "abundance" includes species removal |
List of dataframes with results per point of x
Calculates precision, sensitivity, specificity, assortativity, degree, transitivity, AUC and scale-freeness for tool output.