get_stable_state_from_models_dir: Load the models stable state data

Description Usage Arguments Value Examples

View source: R/input.R

Description

Use this function to merge the stable states from all boolean models into a single data.frame object. The models stable states are loaded from .gitsbe files that can be found inside the given models.dir directory.

Usage

1

Arguments

models.dir

string. A directory with .gitsbe files/models. Do not include the ending path character in the string (/). Only files that include the string gitsbe are parsed.

all.ss

logical. Should all stable states be included in the returned object? Default value is FALSE (only the 1 stable state models are included).

Value

The format of the returned object depends on the all.ss value. If:

Examples

1
2
3
models.dir = system.file("extdata", "models", package = "emba", mustWork = TRUE)
models.stable.state = get_stable_state_from_models_dir(models.dir)
models.stable.state = get_stable_state_from_models_dir(models.dir, all.ss = TRUE)

emba documentation built on Jan. 7, 2021, 9:09 a.m.