Random Network Plugin

Erdos Renyi Tutorial


  1. Go to the Cytoscape menu and select: Plugins → Random Network Plugin → Generate Random Network


  2. Select Erdos-Renyi Model check box and select the "Next" button.



  3. The variables are explained below:


    • Number of Nodes:  The number of nodes in the random network.  The number here has to be a natural number greater than 0.
    • Number of Edges:  If G(n,p) is selected this field will be grayed out.  If G(n,m) is selected the number entered here is the number of edges in the resulting random network.  The number here has to be a whole number greater than 0.
    • Probability of Degree:  If G(n,m) is selected this field will be grayed out.  If G(n,p) is selected each pair of nodes is considered to be a possible edge and is included independently with the probability entered here.  This value has to be a real number between [0,1].
    • Undirected: If this checkbox is selected then the resulting Cytoscape network may only have a single edge between any two nodes.  As of Cytoscape 2.6.0 only directed edge may actually exist, however, this should change as of v.3.0.
    • Allow Self Edges:  If this checkbox is selected then there may exist edges with the same source and target.  If this checkbox is not selected then self-looping edge will not occur.

  4. Below is the resulting network from the values given above.


  5.                                               The resulting network has 50 nodes and 148 edge.