Retrieve the neighbors of a given node which are of a given type.
get_neighbors(root, type, edge_list)ID of the root node.
Desired type of the neighbors.
Edge list as a data.table which must contain the following columns:
OriginIDs of the origin nodes for each edge.
DestinationIDs of the destination nodes for each edge.
OriginTypeTypes of the origin node for each edge.
DestinationTypeTypes of the destination node for each edge.
EdgeTypeTypes of each edge.
Vector of neighbors of a given type.