>
> I presume this is a very simple question. If I have a directed network,
> how do I select edges that have a given node as sink?
>
Use incident(graph, vertex, mode="in") to get the indices of all the edges
that terminate in a given node. Alternatively, you may use the [[ operator
(see http://igraph.org/r/doc/sub-sub-.igraph.html):

graph[[, v, edges=TRUE]]


> Further, how do I generate a subgraph comprised of all the edges that have
> a given node as sink?
>
Use subgraph.edges(); see: http://igraph.org/r/doc/subgraph.html

T.
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to