normalize.multiplex.adjacency {RandomWalkRestartMH} | R Documentation

## Computes column normalization of an adjacency matrix

### Description

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

### Usage

    normalize.multiplex.adjacency(x)

### 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

    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)

[Package RandomWalkRestartMH version 1.4.0 Index]