perm.net.degree {ANTs} R Documentation

## Link permutation keeping the structure

### Description

Permutes the rows and/or the columns of a matrix to maintain the link structure during the permutation process.

### Usage

perm.net.degree(M, nperm)


### Arguments

 M a square adjacency matrix or a list of square adjacency matrices. nperm number of permutations wanted.

### Details

Link permutation maintaining the link structure, is usually used for matrix correlation or regression.

### Value

• A list of permuted matrices, if M is a single square adjacency matrix.

• A list of a list of permuted matrices if M is a list of square adjacency matrices.

### Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

### Examples

t=perm.net.degree(sim.m,nperm=10)


[Package ANTs version 0.0.16 Index]