Using the permutation on the --test hg of MKtest.py uses the odds ratio of scipy.stats Fisher's exact test. The way the contingency matrix is passed right now, uses the (Pn/Ps) / (Dn/Ds) ratio instead of the (Dn/Ds) / (Pn/Ps) ratio, which means that the test is not really interpretable.
Using the permutation on the
--test hg
of MKtest.py uses the odds ratio of scipy.stats Fisher's exact test. The way the contingency matrix is passed right now, uses the (Pn/Ps) / (Dn/Ds) ratio instead of the (Dn/Ds) / (Pn/Ps) ratio, which means that the test is not really interpretable.