pybel / pybel-tools

A PyBEL extension for analyzing BEL graphs
http://pybel-tools.readthedocs.io/
MIT License
5 stars 5 forks source link

Cache intermediate NeuroMMSig results #122

Open cthoyt opened 6 years ago

cthoyt commented 6 years ago

EpiCom reloaded runs pretty slow, and one of the reasons is that it re-calculates the betweenness centralities and hubs for each subgraph EACH time. This only needs to be calculated globally once for each subgraph, and can save a lot of time, especially since these graphs are small and use the (slow) exact algorithm.