rewrite of many parts of the edgeR_exact_test_pairwise.R de script, should make it more friendly to batch processing