Description Usage Arguments Details Value See Also Examples
Generate a default set of update-rules for a network.
1 | generateRule(network, ruleType = 0L)
|
network |
The network used for the generation |
ruleType |
Type of random update-rules, default is 0 |
This function generates a default set of update-rules for a network.
The rules would be used to analyze the dynamics of the examined network, for ex., calculating sensitivity, searching attractors.
The type of random update-rules can be specified by the parameter ruleType
:
0 means only Conjunction rules, 1 means only Disjunction rules and 2 means random Nested Canalyzing rules.
The string "ok" if success, otherwise NULL object
findAttractors
, perturb
, restore
1 2 3 4 5 6 7 8 9 | data(amrn)
# Generate a set of random Nested Canalyzing rules
generateRule(amrn, 2)
# Generate a specific initial-state for the AMRN network
state1 <- generateState(amrn, "1110011011")
att <- findAttractors(amrn, state1)
print(att)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.