R/analysis.R
calculate_models_mcc.RdCalculate the Matthews correlation coefficient for each model
calculate_models_mcc( observed.model.predictions, unobserved.model.predictions, number.of.drug.comb.tested )
| observed.model.predictions |
|
|---|---|
| unobserved.model.predictions |
|
| number.of.drug.comb.tested | numeric. The total number of drug
combinations tested, which should be equal to the sum of the columns of the
|
a numeric vector of MCC values, each value being in the [-1,1]
interval. The names attribute holds the models' names
if applicable (i.e. the input data.frames have rownames).
Other confusion matrix calculation functions:
calculate_mcc(),
calculate_models_synergies_fn(),
calculate_models_synergies_fp(),
calculate_models_synergies_tn(),
calculate_models_synergies_tp()