Binomial test for enrichment or depletion testing

Share:

Description

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

Usage

1
binomial_test(p, n, x)

Arguments

p

Probability of success

n

Number of trials

x

Observed number of successes

Value

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

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.