This function performs lower-tail binomial test for depletion and upper-tail test for enrichment

1 | ```
binomial_test(p, n, x)
``` |

`p` |
Probability of success |

`n` |
Number of trials |

`x` |
Observed number of successes |

A data.frame with direction of effect (enrichment/depletion), P-value and significance asterisks

1 2 | ```
binomial_test (0.5, 1200, 543)
binomial_test (0.2, 800, 150)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.