View source: R/map-neighbors.R
map_neighbors | R Documentation |
For a given set of root nodes, step along a given meta-path to find their neighbors
using either get_neighbors()
(for edge lists) or search_neighbors()
(for
neighbor lists).
map_neighbors(
roots_subset,
current_mp,
next_mp,
reference_list,
list_type = c("edge", "neighbor")
)
roots_subset |
Paths from a specific root node as a |
current_mp |
Label of the current type along the meta-path. |
next_mp |
Label of the next type along the meta-path. |
reference_list |
Either an edge list as a
|
list_type |
If an edge list is provided, specify |
Neighbors of the root nodes of a specified type (along the meta-path) as a data.table
.
get_neighbor_list()
for neighbor reference object construction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.