calculate_mcc_multi {minSNPs} | R Documentation |
calculate_mcc_multi
Description
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.
Usage
calculate_mcc_multi(pattern, meta, target = "target", priority = NULL)
Arguments
pattern |
the SNP profile for each samples |
meta |
A data.table containing the meta data |
target |
the column name of the target in the meta data, default to target |
priority |
A data.table of the targets and priority,
either supplied by user, or by default generated by |
Value
multiclass-MCC score
[Package minSNPs version 0.2.0 Index]