weightd_random_walk: Weighted Random Walk algorithm

View source: R/random_walk.R

weightd_random_walkR Documentation

Weighted Random Walk algorithm

Description

Weighted Random Walk algorithm

Usage

weightd_random_walk(graph, startNode, maxStep = 5, node_names = FALSE)

Arguments

graph

an igraph object

startNode

the starting node (i.e. a node name or a node index)

maxStep

maximum number steps (default:5)

node_names

a list of names for nodes

Value

The set of nodes passed by the random walker.

Examples

data = example_data()
nodePath = weightd_random_walk(graph = data[["igraph_example"]], startNode = 1)


PLEXI documentation built on Aug. 9, 2023, 5:08 p.m.