networkcommons.methods.run_reachability_filter

networkcommons.methods.run_reachability_filter(network, source_dict)
Filters out all nodes from the graph which cannot be reached from

source(s).

Parameters:
  • network (nx.Graph) – The network.

  • source_dict (dict) – A dictionary containing the sources and sign of perturbation.

Returns:

None