Description Usage Arguments Details Value See Also Examples
Generate random initial-states for a network or a set of networks.
1 | generateStates(numNodes, numStates)
|
numNodes |
Number of nodes in each initial-state or a network object |
numStates |
Number of random initial-states to be generated. If set to "all", all possible initial-states would be generated. For the large networks, we should use a specific value becaused of memory limitation. |
This function generates random initial-states for a network or a set of networks. The initial-states would be used to analyze the dynamics of the examined networks, for ex., calculating sensitivity or searching attractors.
An identifier for accessing the generated initial-states. The identifier would be used as a parameter of the functions of calculating sensitivity and finding attractors.
calSensitivity
, findAttractors
1 2 3 4 5 6 7 | # Generate a set of 200 initial-states each containing 10 Boolean nodes
set1 <- generateStates(10, 200)
print(set1)
# Generate all possible initial-states each containing 10 Boolean nodes
set2 <- generateStates(10, "all")
print(set2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.