perm.net.lk.w {ANTs} R Documentation

### Description

Permute network links weigths while keep same network structure.

### Usage

perm.net.lk.w(M, nperm, progress = TRUE)


### Arguments

 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.

### Details

Permute network links weigths while keep same network structure (density, modularity, binary global clustering coefficient).

### Value

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

### Examples

test = perm.net.lk.w(sim.m, nperm = 2)
test[[1]][test[[1]] > 0] == test[[2]][test[[2]] > 0]


[Package ANTs version 0.0.16 Index]