Network editing: removing vertices and connecting their neighbours
This function removes vertices given as
vids and connects their neighbours as
long as the shortest path beween the neighbours are below the
A reaction network.
Vertex ids to be removed.
If the shortest path between vertices is larger than this threshold, they are not reconnected.
A function, or a list of functions, combine edge attributes. Edge attributes of new edges (between reconnected neighbours) are obtained by combining original edges attributes along the shortest path between reconnected neighbors.
A modified graph.
Other Network processing methods:
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.