Learn R Programming

BoolNet (version 2.1.5)

generationFunctions: Generation functions for biologically relevant function classes

Description

These generation functions randomly generate canalyzing or nested canalyzing Boolean functions. These functions are usually not called directly, but are supplied to the functionGeneration parameter of generateRandomNKNetwork.

Usage

generateCanalyzing(input)
generateNestedCanalyzing(input)

Value

A binary vector corresponding to the result column of the truth table that represents the canalyzing/nested canalyzing function.

Arguments

input

A vector of input gene indices for the Boolean function

References

S. Kauffman and C. Peterson and B. Samuelsson and C. Troein (2004), Genetic networks with canalyzing Boolean rules are always stable. PNAS 101(49):7102--17107.

See Also

generateRandomNKNetwork

Examples

Run this code
  # generate a random network with canalyzing functions
  net1 <- generateRandomNKNetwork(n=10, k=5, 
                                  functionGeneration="generateCanalyzing")
  print(net1)
                                  
  # generate a random network with nested canalyzing functions
  net2 <- generateRandomNKNetwork(n=10, k=5, 
                                  functionGeneration="generateNestedCanalyzing")
  print(net2)                                  

Run the code above in your browser using DataLab