normalize.multiplex.adjacency: Computes column normalization of an adjacency matrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RWRandMatrices.R

Description

normalize.multiplex.adjacency is a function to compute the column normalization of a sparse matrix of the package Matrix.

Usage

1

Arguments

x

A Matrix object describing an adjacency matrix of a network.

Value

A square sparse column normalized matrix created with the Matrix package.

Author(s)

Alberto Valdeolivas Urbelz alvaldeolivas@gmail.com

See Also

compute.adjacency.matrix, Random.Walk.Restart.Multiplex

Examples

1
2
3
4
5
m1 <- igraph::graph(c(1,2,1,3,2,3), directed = FALSE)
m2 <- igraph::graph(c(1,3,2,3,3,4,1,4), directed = FALSE)
multiObject <- create.multiplex(list(m1=m1,m2=m2))
AdjMatrix <- compute.adjacency.matrix(multiObject)
normalize.multiplex.adjacency(AdjMatrix)

alberto-valdeolivas/RandomWalkRestartMH documentation built on Aug. 12, 2021, 8:49 p.m.