Compute a Mathews Correlation Coefficient
mcc.RdThe function computes a Matthews correlation coefficient for two factors provided to the function. It assumes each factor is a factor of class labels, and the enteries are paired in order of the vectors.
Usage
mcc(
  x,
  y,
  nperm = 1000,
  nthread = 1,
  alternative = c("two.sided", "less", "greater"),
  ...
)Arguments
- x, y
- factorof the same length with the same number of levels
- nperm
- numericnumber of permutations for significance estimation. If 0, no permutation testing is done
- nthread
- numericcan parallelize permutation texting using BiocParallels bplapply
- alternative
- indicates the alternative hypothesis and must be one of ‘"two.sided"’, ‘"greater"’ or ‘"less"’. You can specify just the initial letter. ‘"greater"’ corresponds to positive association, ‘"less"’ to negative association. 
- ...
- listAdditional arguments