perm.net.degree: Link permutation keeping the structure

View source: R/perm.net.degree.R

perm.net.degreeR 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)

SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.