generateState: Generate a specific initial-state.

Description Usage Arguments Details Value See Also Examples

View source: R/utils.R

Description

Generate a specific initial-state for a network.

Usage

1
generateState(network, state)

Arguments

network

The network used for the generation

state

A binary string with one entry for each node of the network in alphabetical order

Details

This function generates a specific initial-state for a network. The initial-state would be used to analyze the dynamics of the examined network, for ex., calculating sensitivity or searching attractors.

Value

An identifier for accessing the generated initial-state. The identifier would be used as a parameter of the functions of calculating sensitivity and finding attractors.

See Also

calSensitivity, findAttractors

Examples

1
2
3
data(amrn)
state1 <- generateState(amrn, "1010101111")
print(state1)

csclab/RMut documentation built on May 14, 2019, 12:07 p.m.