Description Usage Arguments Value Examples
View source: R/binomial_test.R
This function performs lower-tail binomial test for depletion and upper-tail test for enrichment
1 | binomial_test(p, n, x, p_cutoffs = 0.05)
|
p |
Probability of success |
n |
Number of trials |
x |
Observed number of successes |
p_cutoffs |
Significance cutoff for the p value. Default: 0.05 |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.