choose.edges: Select edges for re-wiring.

Description Usage Arguments Value References See Also

Description

This function selects edges to be re-wired when simulating random graphs. It is based on the algorithm by Bansal et al. (2009), BMC Bioinformatics.

Usage

1
choose.edges(A, degs, degs.large)

Arguments

A

Numeric (adjacency) matrix

degs

Integer vector of the graph's degree sequence

degs.large

Integer vector of vertex numbers with degree greater than one

Value

A data frame with four elements; two edges will be removed and two edges will be added between the four vertices.

References

Bansal S., Khandelwal S., Meyers L.A. (2009) Exploring biological network structure with clustered random networks. BMC Bioinformatics, 10:405-421.

See Also

sim.rand.graph.clust



Search within the brainGraph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.