further tidy for OR calcs

This commit is contained in:
Tanushree Tunstall 2020-06-23 12:19:26 +01:00
parent 1e43ca8136
commit a1cc7ee33d

View file

@ -554,5 +554,12 @@ for (i in snps){
# https://stats.stackexchange.com/questions/259635/what-is-the-difference-using-a-fishers-exact-test-vs-a-logistic-regression-for
exact2x2(table(dst, mut),tsmethod="central")
#mymethod = "minlike" # default
mymethod = "central"
#mymethod = "blaker"
exact2x2(table(dst, mut),tsmethod=mymethod)
mcnemar.exact(x,y=NULL, conf.level=.95)
#=====================================================================