View source: R/perm.net.lk.w.R
perm.net.lk.w | R Documentation |
Permute network links weigths while keep same network structure.
perm.net.lk.w(M, nperm, progress = TRUE)
M |
a square adjacency matrix, or a list of square adjacency matrices. |
nperm |
an integer indicating the number of permutations wanted. |
progress |
a boolean indicating the visualization of the permutation process. |
Permute network links weigths while keep same network structure (density, modularity, binary global clustering coefficient).
a list of matrices of length nperm + 1 with the first matrix beeing the original one and the other elements, the permuted ones.
Sebastian Sosa
test = perm.net.lk.w(sim.m, nperm = 2)
test[[1]][test[[1]] > 0] == test[[2]][test[[2]] > 0]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.