Description Usage Arguments Examples
View source: R/TopK_WRS.test.R
This function perform TopK exact test on a two group data set (Case-Control study). The univariate p-values based on Wilcoxon rank sum test.
1 2 3 | TopK_WRS.test(X, nA, nB, Kvals = c(1, 2, 3, 4, 5, 10, 25), B = 0,
alternative = c("two.sided", "less", "greater"), ties.method = c("random",
"min", "max", "average"), ReturnType = "TopK", vrb = T)
|
X |
a data matrix containing features as rows and samples as columns. |
nA |
number of samples in group 1 |
nB |
number of samples in group 2 |
Kvals |
a numeric vector indicating how many |
B |
the number of inner permutation, default is "0" for exact test. |
alternative |
a character string specifying the alternative hypothesis,
must be one of |
ties.method |
a character string specifying how ties are treated, see <e2><80><98>Details<e2><80><99>; can be abbreviated. |
ReturnType |
character(1) specify how to return the results.
Could be |
vrb |
a logical vector indicating TRUE when show some words while running, FALSE otherwise. |
1 | TopK_WRS.test(X,7,7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.