get_model_predictions: Load the models predictions data

Description Usage Arguments Value Examples

View source: R/input.R

Description

Use this function to read a file that has the model predictions data and output it to a data.frame object.

Usage

1
get_model_predictions(model.predictions.file)

Arguments

model.predictions.file

a tab-delimited file (for the specific format check the example below)

Value

a data.frame object with rows the models and columns the drug combinations. Possible values for each model-drug combination element are either 0 (no synergy predicted), 1 (synergy was predicted) or NA (couldn't find stable states in either the drug combination inhibited model or in any of the two single-drug inhibited models)

Examples

1
2
3
model.predictions.file = system.file("extdata", "model_predictions",
  package = "emba", mustWork = TRUE)
model.predictions = get_model_predictions(model.predictions.file)

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