Returns the Matthews correlation coefficient (MCC) based on the AMR phenotype predictions by an ML model compared against the actual values.
.calculateMCC(test_data_plus_predictions)Test data (tibble) with an added column for
predicted phenotype labels, such as the output of predictML()
Matthews correlation coefficient (MCC), range -1 to 1