Since the given observed.model.predictions data.frame has only the positive results, this function returns the total number of 0's and NA's in each row.

calculate_models_synergies_fn(observed.model.predictions)

Arguments

observed.model.predictions

data.frame object with rows the models and columns the drug combinations that were found/observed as synergistic (negative results). 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)

Value

an integer vector with elements the number of false negative predictions per model. The model names are given in the names attribute (same order as in the rownames attribute of the observed.model.predictions data.frame).

See also