Learn R Programming

BTR (version 1.2.4)

rcpp_simulate: Simulate a Boolean model.

Description

(&&&Not for public use&&&)This function simulates the Boolean model using an initial state. For use within simulate_model(). Returns a matrix of full asynchronous state space.

Usage

rcpp_simulate(bmodel, fstate, verbose = FALSE)

Arguments

bmodel
list. A list of 4 lists created by decreate_model().
fstate
data frame. It must have been initialised by initialise_data(), and has gene names as column names. Must contain only 1 row.
verbose
logical. Indicates whether to output progress.