search_neighbors: Get node neighbors of specified type using neighbors...

View source: R/search-neighbors.R

search_neighborsR Documentation

Get node neighbors of specified type using neighbors reference object.

Description

Retrieve the neighbors of a given node which are of a given type using the neighbors reference object.

Usage

search_neighbors(root, type, neighbor_list)

Arguments

root

ID of the root node.

type

Desired type of the neighbors.

neighbor_list

Neighbor reference object constructed by get_neighbor_list().

Value

Vector of neighbors of a given type.

See Also

get_neighbor_list() for neighbor reference object construction.


ayushnoori/metapaths documentation built on March 19, 2023, 7:35 p.m.