normalize.multiplex.adjacency {RandomWalkRestartMH} | R Documentation |
normalize.multiplex.adjacency
is a function to compute the column
normalization of a sparse matrix of the package Matrix
.
normalize.multiplex.adjacency(x)
x |
A |
A square sparse column normalized matrix created with the
Matrix
package.
Alberto Valdeolivas Urbelz alvaldeolivas@gmail.com
compute.adjacency.matrix,
Random.Walk.Restart.Multiplex
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)