t-test: p=0.0457036
Neutral set average density: 0.061874
Different set average density: 0.0644668
motif_present gene_set absent present different 33 961 neutral 69 1884
Fisher's exact test: p=0.831505
Binomial GLM: p=0.764808
Call: glm(formula = motif_present ~ different, family = binomial, data = daf) Deviance Residuals: Min 1Q Median 3Q Max -2.6097 0.2599 0.2682 0.2682 0.2682 Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 3.30705 0.12257 26.981 <2e-16 *** differentTRUE 0.06442 0.21533 0.299 0.765 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 886.60 on 2946 degrees of freedom Residual deviance: 886.51 on 2945 degrees of freedom AIC: 890.51 Number of Fisher Scoring iterations: 6