emba (version 0.1.1)

get_stable_state_from_models_dir: Load the models stable state data

Description

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

Usage

get_stable_state_from_models_dir(models.dir)

Arguments

models.dir

string. A dir with .gitsbe files/models

Value

a matrix (nxm) with n models and m nodes. The row names of the matrix specify the models' names whereas the column names specify the name of the network nodes (gene, proteins, etc.). Possible values for each model-node element are either 0 (inactive node) or 1 (active node).

Examples

Run this code
# NOT RUN {
models.dir = system.file("extdata", "models", package = "emba", mustWork = TRUE)
models.stable.state = get_stable_state_from_models_dir(models.dir)

# }

Run the code above in your browser using DataLab