Usage Arguments Details Value See Also
View source: R/hypergeometricTestVector.r
1 2 | hypergeometricTestVector(drawn.ball, urns, total.ball.num,
adj.p.method = "BH")
|
drawn.ball |
vector of items to be tested, like drawn balls. |
urns |
lists of items contained in different sets, like different urns contains balls. |
total.ball.num |
the background number of items. |
adj.p.method |
adjusted p value methods in |
This function is used to do many hypergeometric tests, and calculate both the p value and adjusted p value.
the returned result will be a data.frame,
containing numbers of drawn, background number, p value and adjusted p value,
with the same row number as the length of input urns
.
The order of results will be the same with urns
,
and the names will also be the same if has.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.