generationFunctions {BoolNet}R Documentation

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)

Arguments

input

A vector of input gene indices for the Boolean function

Value

A binary vector corresponding to the result column of the truth table that represents the canalyzing/nested canalyzing 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

## Not run: 
  # 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)                                  

## End(Not run)  

[Package BoolNet version 2.1.9 Index]