Description Usage Arguments Details Value See Also Examples
Restore a set of node/edge groups in a network.
1 | restore(network, groupSet)
|
network |
The network contains the node/edge groups |
groupSet |
The indexing number of node/edge groups in the network |
This function restores a set of node/edge groups in a network to its normal condition.
And the parameter groupSet
has same meaning as in the calSensitivity function.
None. Error messages or information would be outputed to the screen.
perturb, generateGroups, generateGroup, calSensitivity, findAttractors
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | data(amrn)
# Generate a group of two nodes in the AMRN network
amrn <- generateGroup(amrn, nodes = "AG, SUP")
print(amrn$Group_1)
# Generate a specific initial-state for the AMRN network
state1 <- generateState(amrn, "1110011011")
# Find the original transition network (before making perturbations)
transNet <- findAttractors(amrn, state1)
print(transNet)
# Perturb the group with overexpression mutation
perturb(amrn, 1, "overexpression")
# Continuously perturb the group with "state-flip" mutation
perturb(amrn, 1, "state flip")
# Find the perturbed transition network
perturbed_transNet <- findAttractors(amrn, state1)
print(perturbed_transNet)
# Restore the group from previous mutations
restore(amrn, 1)
# Find again the original transition network, it should be same with the "transNet" network
origin_transNet <- findAttractors(amrn, state1)
print(origin_transNet)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.