gen_two_rmodel: Generate two random Boolean models with a specified number of...

Description Usage Arguments Details

Description

This function generates a random Boolean model, then get another random Boolean model that is a specified number of steps apart by adding and/or removing genes. Returns a list of two S4 BoolModel objects.

Usage

1
2
gen_two_rmodel(var, steps, mvar = length(var), and_bool, in_bmodel = NULL,
  self_loop = F)

Arguments

var

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

steps

integer. Number of steps apart between the two models. If steps=0, give completely random starting model.

mvar

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

and_bool

logical. Indicates whether to include AND terms or not.

in_bmodel

BoolModel object. The starting model supplied.

self_loop

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

Details

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


BTR documentation built on May 2, 2019, 12:21 p.m.