Go to the Cytoscape menu and select: Plugins → Random Network Plugin → Generate Random NetworkSelect Barabasi-Albert Model check box and select the "Next" button. 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.
- Minimum Edges per node: The number of edges to add to a node when it is added to the network. Must be an integer greater than 0.
- Initial Number of Nodes: The algorithm creates an initial seed network, which become hub nodes in the resulting network. This value must be an integer greater than 2.
- 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.
Below is the resulting network from the values given above.
The resulting network has 50 nodes and 97 edges.
ImagesIn the following images node size is relative to node degree.
N = 1000 Initial Nodes = 3 Degree = 2
Degree Power Law = -1.85 E = 1997
N = 1000 Initial Nodes = 3 Degree = 1
Degree Power Law = -1.74 E = 999
N = 5,000 Initial Nodes = 2 Degree = 2
Degree Power Law = -1.97 E = 9,997
N = 10,000 Initial Nodes = 3 Degree = 2 Degree Power Law = -2.09 E = 19,997
|