Extract a custom subnetwork from a large networkSource:
Extract a custom subnetwork from a large network
Either an OmniPath interaction data frame, or an igraph graph object.
Character or integer vector: names, identifiers or indices of the nodes to build the subnetwork around.
Integer: order of neighbourhood around nodes; i.e., number of steps starting from the provided nodes.
Character: "all", "out" or "in". Follow directed edges from the provided nodes in any, outbound or inbound direction, respectively.
Integer: The minimum distance to include the vertex in the result.
Logical: return an interaction data frame instead of an igraph object.