Bioconductor Developer Survey 2026 Now Open!

BiRewire

High-performing routines for the randomization of a bipartite graph (or a binary event matrix), undirected and directed signed graph preserving degree distribution (or marginal totals)

Bioconductor version: 3.23 · Package version: 3.44.0

Fast functions for bipartite network rewiring through N consecutive switching steps (See References) and for the computation of the minimal number of switching steps to be performed in order to maximise the dissimilarity with respect to the original network. Includes functions for the analysis of the introduced randomness across the switching steps and several other routines to analyse the resulting networks and their natural projections. Extension to undirected networks and directed signed networks is also provided. Starting from version 1.9.7 a more precise bound (especially for small network) has been implemented. Starting from version 2.2.0 the analysis routine is more complete and a visual montioring of the underlying Markov Chain has been implemented. Starting from 3.6.0 the library can handle also matrices with NA (not for the directed signed graphs). Since version 3.27.1 it is possible to add a constraint for dsg generation: usually positive and negative arc between two nodes could be not accepted.

DOI: 10.18129/B9.bioc.BiRewire

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("BiRewire")

Details

MaintainerAndrea Gobbi <gobbi.andrea@mail.com>
AuthorAndrea Gobbi [aut], Francesco Iorio [aut], Giuseppe Jurman [cbt], Davide Albanese [cbt], Julio Saez-Rodriguez [cbt].
LicenseGPL-3
URLhttp://www.ebi.ac.uk/~iorio/BiRewire
StatusDeprecated
Source branchRELEASE_3_23
Build report Bioconductor build system, r-universe
biocViewsNetwork, Software
Package Short Url https://bioconductor.org/packages/BiRewire/

Citation

From within R, enter citation("BiRewire"):

Andrea Gobbi, Francesco Iorio. BiRewire: High-performing routines for the randomization of a bipartite graph (or a binary event matrix), undirected and directed signed graph preserving degree distribution (or marginal totals). doi:10.18129/B9.bioc.BiRewire, R package version 3.44.0, https://bioconductor.org/packages/BiRewire.

Generated from the package metadata; it may differ from the package's own citation.

Dependencies

Depends: igraph, slam, Rtsne, Matrix

Suggests: RUnit, BiocGenerics