ecl-logo Documentation

ToState

ToState[speciesRules]s

converts a list of rules, relating species name with concentration, to a properly formatted state.

ToState[speciesRules,unit]s

add unit to all of the values in the state.

Details

    Input
    Output

Examples

Basic Examples  (3)

Transform list of rules to state:

Generate state without concentrations:

Given species as symbols:

Additional Examples  (4)

Given species as sequences:

Given species as motifs:

Given species as strands:

Add unit to a state: