moduleWeb-class: Class "moduleWeb"

Description Objects from the class Slots Methods Author(s) Examples

Description

This class is the output of an application of the function computeModules(...) to a graph. It consists of the matrix representing the original graph which has been passed to computeModules(...) in order to compute modules, a matrix representing the same graph but permutated according to the identified modules, two vectors indicating the permutation of row and column indices, respectively, and information about the modules themselves.

Objects from the class

Objects from the class should only be created by using the function computeModules(...).

Slots

likelihood:

Contains a number with the likelihood-equivalent of the final proposed module structure. This value is the same value as Q (or M), the modularity as given by Newman or Guimerà & Amaral (2005).

originalWeb:

Object of class "matrix" representing the original bipartite graph in which modules have been computed.

moduleWeb:

Object of class "matrix" representing the original bipartite graph but reordered such that plotting modules is possible.

orderA:

Object of class "vector" representing the permutation of the rows of the original graph.

orderB:

Object of class "vector" representing the permutation of the columns of the original graph.

modules:

Object of class "matrix" containing for each module the information about its depth and involved nodes. The first row is just a consecutive number, so of no information; the first two columns can also be ignored. This matrix shows ALL network players (in the sequence of the original matrix, starting with rows), so first rows, then columns. There are as many rows as modules. Each row writes a number if a species is in that module, or a 0 if it isn't. For the modules of Safariland (mod <- computeModules(Safariland); [email protected][-1, -c(1,2) ]), the third module are species 3 and 24, i.e. Schinus patagonicus (third row) and Ichneumonidae4 (24 - 9 column).

Methods

Objects of this class are used in following functions:

listModuleInformation(moduleWebObject)

printoutModuleInformation(moduleWebObject)

plotModuleWeb(moduleWebObject, plotModules=TRUE, rank=FALSE, weighted=TRUE, displayAlabels=TRUE, displayBlabels=TRUE, labsize=1, plotsize=12, xlabel="", ylabel="", square.border="white", fromDepth=0, upToDepth=-1)

Author(s)

Rouven Strauss

Examples

1
showClass("moduleWeb")

Example output

Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.4-3
Loading required package: sna
Loading required package: statnet.common
Loading required package: network
network: Classes for Relational Data
Version 1.13.0 created on 2015-08-31.
copyright (c) 2005, Carter T. Butts, University of California-Irvine
                    Mark S. Handcock, University of California -- Los Angeles
                    David R. Hunter, Penn State University
                    Martina Morris, University of Washington
                    Skye Bender-deMoll, University of Washington
 For citation information, type citation("network").
 Type help("network-package") to get started.

sna: Tools for Social Network Analysis
Version 2.4 created on 2016-07-23.
copyright (c) 2005, Carter T. Butts, University of California-Irvine
 For citation information, type citation("sna").
 Type help(package="sna") to get started.

 This is bipartite 2.08
 For latest changes see versionlog in  ?"bipartite-package".
 For citation see: citation("bipartite").
 Have a nice time plotting and analysing two-mode networks.


Attaching package: 'bipartite'

The following object is masked from 'package:vegan':

    nullmodel

Class "moduleWeb" [package "bipartite"]

Slots:
                                                                              
Name:  originalWeb   moduleWeb      orderA      orderB     modules  likelihood
Class:      matrix      matrix      vector      vector      matrix     numeric

bipartite documentation built on May 30, 2017, 1:25 a.m.