R/get-neighbors.R
get_neighbors_with_edge.Rd
Retrieve the neighbors of a given node which are of a given type, accounting for edge type.
get_neighbors_with_edge(root, type, edge_list)
root | ID of the root node. |
---|---|
type | Desired type of the neighbors. |
edge_list | Edge list as a
|
Vector of neighbors of a given type.