Learn R Programming

BoolNet (version 2.1.5)

symbolicToTruthTable: Convert a symbolic network into a truth table representation

Description

Converts an object of class SymbolicBooleanNetwork into an object of class BooleanNetwork by generating truth tables from the symbolic expression trees.

Usage

symbolicToTruthTable(network)

Value

Returns an object of class BooleanNetwork, as described in loadNetwork.

Arguments

network

An object of class SymbolicBooleanNetwork to be converted.

Details

The symbolic network network must not contain temporal operators, as these are not compatible with the truth table representation in BooleanNetwork objects.

See Also

truthTableToSymbolic, loadNetwork

Examples

Run this code
# Convert a truth table representation into a 
# symbolic representation and back
data(cellcycle)

symbolicNet <- truthTableToSymbolic(cellcycle)
print(symbolicNet)

ttNet <- symbolicToTruthTable(symbolicNet)
print(cellcycle)

Run the code above in your browser using DataLab