This function calculates a score for a Boolean model wrt to a dataset.
1 2 | calc_mscore(bmodel, istate, fcdata, overlap_gene, max_varperrule,
model_encoding, detail = F)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.