Learn R Programming

BTR (version 1.2.4)

calc_mscore: Calculating Boolean model score wrt to a dataset

Description

This function calculates a score for a Boolean model wrt to a dataset.

Usage

calc_mscore(bmodel, istate, fcdata, overlap_gene, max_varperrule, model_encoding, detail = F)

Arguments

bmodel
S4 BoolModel object. Model to be evaluated.
istate
data frame. Must have only 1 row, which represents 1 initial state.
fcdata
matrix. Represents the expression data df.
overlap_gene
character vector. Specify which genes are present in both model and data inputs.
max_varperrule
integer. Maximum number of terms per rule (combining both act and inh rule). Note that this number must not be smaller than number of variables. Default to 6.
model_encoding
numeric. Only required if the bmodel is encoded.
detail
logical. Whether to give more details in score calculation. Default to FALSE.