Use this function to read a file that has the model predictions data
and output it to a data.frame
object.
get_model_predictions(model.predictions.file)
model.predictions.file | a tab-delimited file (for the specific format check the example below) |
---|
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)
model.predictions.file = system.file("extdata", "model_predictions", package = "emba", mustWork = TRUE) model.predictions = get_model_predictions(model.predictions.file)