View source: R/binomial_test.R
binomial_test | R Documentation |
This function performs lower-tail binomial test for depletion and upper-tail test for enrichment
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
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.