calc_diffusion: Calculate network propagation by diffusion

Description Usage Arguments Value

View source: R/calc_diffusion.R

Description

Calculate various measures of diffusion

Usage

1
calc_diffusion(graph, method = "raw")

Arguments

graph

Graph of class 'igraph'. Must include node attributes 'name' and 'seed'.

method

String. Kernel for diffusion. Passed to diffusion() from the diffuStats package.

Value

Graph of class 'igraph' with new attribute, 'propagation_score'.


taylorpourtaheri/nr documentation built on Dec. 23, 2021, 7:49 a.m.