Label propagation
propagate_labels(
edge_verts,
edge_weights,
vert_labels,
max_n_iters = 10L,
verbose = TRUE,
diffusion_fading = 10,
diffusion_fading_const = 0.5,
tol = 0.005,
fixed_initial_labels = FALSE
)
matrix from input graph, with labels propagated
edge vertices of igraph graph object
edge weights of igraph graph object
vector of factor or character labels, named by cell names
integer Maximal number of iterations (default=10)
boolean Verbose mode (default=TRUE)
numeric Constant used for diffusion on the graph, exp(-diffusion.fading * (edge_length + diffusion.fading.const)) (default=10.0)
numeric Another constant used for diffusion on the graph, exp(-diffusion.fading * (edge_length + diffusion.fading.const)) (default=0.5)
numeric Absolute tolerance as a stopping criteria (default=5e-3)
boolean Prohibit changes of initial labels during diffusion (default=FALSE)