This function selects edges to be re-wired when simulating random graphs while controlling for clustering. It is based on the algorithm by Bansal et al. (2009), BMC Bioinformatics.
Numeric (adjacency) matrix
Integer vector of vertex numbers with degree greater than one
A data frame with four elements; two edges will be removed and two edges will be added between the four vertices.
Christopher G. Watson, [email protected]
Bansal S., Khandelwal S., Meyers L.A. (2009) Exploring biological network structure with clustered random networks. BMC Bioinformatics, 10:405-421.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.