This function converts adjacency matrix to BoolModel object. Able to take in adjacency matrix with -1, which encodes for inhibitory interaction.
1 | amat_to_bm(amat, random = F)
|
amat |
matrix. directed adjacency matrix. |
random |
logical. Randomly assign to either act or inh rules, when the adjacency matrix only has values 0 and 1, but not -1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.