gen_two_rmodel_dag: Generate two random DAG Boolean models with a specified...

Description Usage Arguments

Description

This function generates a random DAG Boolean model, then get another random DAG Boolean model that is a specified number of steps apart by adding and/or removing genes. Difficult to generate completely directed graph with a specified number of steps apart.

Usage

1
2
gen_two_rmodel_dag(var, steps, mvar = length(var), in_amat = NULL,
  acyclic = T)

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).

in_amat

matrix. Provide adjacency matrix of first model.

acyclic

logical. Whether to restrict the model to being acyclic or not. Defaults to TRUE.


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