EcologicalNetworks.jl
EcologicalNetworks.jl copied to clipboard
Everything you've never dreamed about measuring on ecological networks.
# Quantitative foodweb descriptors - [x] basal / intermediate / top - [x] network generality / vulnerability - [x] flow diversity - [x] equivalent pred/prey number - [x] positional index...
"Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning?...".
~~~ julia using Random A = rand(1:10, (20, 10)) A[rand(1:prod(size(A)), 40)] .= 0 B = copy(A) m1 = [-1 1; 1 -1] m2 = [1 -1; -1 1] function valid(a,...
the modules always start at 1, but not always at the same species -- this may be difficult to fix since species don't always end up in the same module...
~~~julia """ **Correct number of motifs** correct(N, m) Uses the logistic of the zscore compared to the expected motif count under the type 2 null model, so that < 0...
Additional path algorithms (in progress in `feature-path-algorithms`) - [x] Bellman-Ford - [ ] Improve the speed for Bellman-Ford by calling `interactions` only once - [ ] Djikstra
Especially for bipartite networks (because of the need to iterate on both sides), counting motifs is taking forever.
**Important announcement:** in order to build the next steps of this package on a healthier code-base, it has been decided (by me! I can do this!) to [sunset](https://en.wikipedia.org/wiki/Sunset_(computing)) this package...