R/search-neighbors.R
search_neighbors.Rd
Retrieve the neighbors of a given node which are of a given type using the neighbors reference object.
search_neighbors(root, type, neighbor_list)
root | ID of the root node. |
---|---|
type | Desired type of the neighbors. |
neighbor_list | Neighbor reference object constructed by |
Vector of neighbors of a given type.
get_neighbor_list()
for neighbor reference object construction.