Description Usage Arguments Value See Also
Helper function for getPermutePval()
.
1 | onePermuteStat(i, Z, n1, n2, testFunction, seeds = NULL)
|
i |
the i-th permutation, in the range of 1, ..., |
Z |
(n1+n2)-by-p matrix, containing the pooled samples from two populations. Columns are features. |
n1 |
the first n1 rows in Z represent the first population |
n2 |
the (n1+1):(n1+n2) rows in Z represent the second population |
testFunction |
a function that takes in two arguments, X and Y,
and returns a list including the field |
seeds |
a numeric vector with length |
Return the test statistic in the i-th permutation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.