amat_to_bm: Convert adjacency matrix into BoolModel object

Description Usage Arguments

Description

This function converts adjacency matrix to BoolModel object. Able to take in adjacency matrix with -1, which encodes for inhibitory interaction.

Usage

1
amat_to_bm(amat, random = F)

Arguments

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.


BTR documentation built on May 2, 2019, 12:21 p.m.