snapatac2.tl.prune_network# snapatac2.tl.prune_network(network, node_filter=None, edge_filter=None, remove_isolates=True)[source]# Prune the network. Parameters: network (PyDiGraph) – network node_filter (Optional[Callable[[NodeData], bool]]) – Node filter function. edge_filter (Optional[Callable[[int, int, LinkData], bool]]) – Edge filter function. remove_isolates (bool) – Whether to remove isolated nodes. Return type: rx.PyDiGraph