Description Usage Arguments Details

This function generates a random Boolean model. Returns an S4 BoolModel object. Note that this method will not give empty rule, i.e. 0 term in both act and inh rules.

1 2 | ```
gen_one_rmodel(var, exponent = 3, and_bool, self_loop = F,
mvar = length(var), model_type = "random")
``` |

`var` |
character vector. A vector of single genes/variables to be used in the model. |

`exponent` |
integer. The exponent of power law distribution. Default to 3. |

`and_bool` |
logical. Indicates whether to include AND terms or not. |

`self_loop` |
logical. Indicates whether to allow self_loop. Default to F. |

`mvar` |
integer. Maximum number of variables in act or inh rule. Default to length(var). |

`model_type` |
character. Specifies the type of model generated. |

The number of terms in a function for a gene is modelled by power-law distribution.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.