MyNixOS website logo
Description

Fast Network Modularity and Roles Computation by Simulated Annealing (Rgraph C Library Wrapper for….

Provides functions to compute the modularity and modularity-related roles in networks. It is a wrapper around the rgraph library (Guimera & Amaral, 2005, <doi:10.1038/nature03288>).

rnetcarto

Fast network modularity and roles computation by simulated annealing (rgraph C library wrapper for R).

Example

> library(rnetcarto)

> # A general network.
> library(igraphdata,igraph)
> data(karate)
> web = get.adjacency(karate,sparse=FALSE)
> netcarto(web)
[[1]]
       name module     z-score participation
1     Mr Hi      2  2.13570766  5.390625e-01
2   Actor 2      2  1.40155815  1.975309e-01
3   Actor 3      2  0.30033389  6.200000e-01
4   Actor 4      2  0.66740864  1.110223e-16
5   Actor 5      1 -0.81649658  4.444444e-01
(...)

[[2]]
[1] 0.4197896


> # A bipartite network
> library(bipartite)
> data(vazarr)
> netcarto(vazarr,bipartite=TRUE)
[[1]]
                       name module    z-score participation
1     Aristotelia chilensis      1  0.0000000     0.4444444
2        Alstroemeria aurea      5  0.0000000     0.6805556
3       Schinus patagonicus      1  0.0000000     0.6111111
4         Berberis darwinii      2  1.4142136     0.5000000
5           Vicia nigricans      5  0.0000000     0.5000000
6           Rosa eglanteria      2 -0.7071068     0.4489796
7          Cynanchum diemii      3  0.0000000     0.0000000
8        Ribes magellanicum      2 -0.7071068     0.0000000
9         Mutisia decurrens      4  0.0000000     0.0000000
10 Calceolaria crenatiflora      6  0.0000000     0.0000000

[[2]]
[1] 0.2357462
Metadata

Version

0.2.6

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows