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(m1,m2)
AdjMatrix <- compute.adjacency.matrix(multiObject)
normalize.multiplex.adjacency(AdjMatrix)

RandomWalkRestartMH documentation built on Nov. 8, 2020, 5:28 p.m.