| MWUTest | R Documentation |
Computes p-values using a Mann-Whitney U Test for the null hypothesis H_0: β_j = 0.
MWUTest(dge, design)
dge |
A dgeList object, created with edgeR, containing the normalization factors as computed by edgeR. |
design |
A model matrix; The first column should be all 1s. The second column should have two unique values, corresponding to the groups |
Jakob Walter
Y <- rnbinom(20*10, mu = 10, size = 1/0.2)
Y <- data.frame(array(Y, dim = c(20, 10)))
X1 <- as.factor(rep(c("A", "B"), each = 20/2))
design <- model.matrix(~X1, contrasts.arg = list(X1 = "contr.sum"))
dge <- edgeR::DGEList(counts = t(Y), group = X1)
dge <- edgeR::calcNormFactors(dge)
MWUTest(dge, design)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.