calculate_mcc_multi
Calculate the multi-class MCC score for the SNPs.
It assigns each SNP profile to a class, based on the majority of the samples having the profile,
targets with the less samples are prioritised first, breaking ties by alphabetical order.
calculate_mcc_multi(pattern, meta, target = "target", priority = NULL)
the SNP profile for each samples
A data.table containing the meta data
the column name of the target in the meta data, default to target
A data.table of the targets and priority,
either supplied by user, or by default generated by generate_prioritisation
.
multiclass-MCC score