Learn R Programming

BTR (version 1.2.4)

eval_bool: Evaluating Boolean rules

Description

This function evaluates the Boolean rules (both act and inh) of one gene at a time. Return a logical value for that gene.

Usage

eval_bool(bmodel, val, ind)

Arguments

bmodel
S4 BoolModel object.
val
named logical vector. It should contain the values for all genes at that time point. Note that each value in the vector must be named by its corresponding gene name.
ind
integer. It indicates the state of which gene should be computed.