Description Usage Arguments Value Examples
.wilTest is an internal function used by calculatePhysioMap that does rank sum test (equivalent to Mann-Whitney test) between iplus and iminus indexed genes in ReferencesJ.
1 | .wilTest(ReferencesJ, iplus, iminus, STATICResponse)
|
ReferencesJ |
Vector of gene expressions to do statistical test on. |
iplus |
Index of first group of genes for statistical testing. |
iminus |
Index of second group of genes for statistical testing. |
STATICResponse |
Same STATICResponse as in calculatePhysioMap. Check calculatePhysioMap's help for more info. |
Log2 signed p value of Rank sum test if STATICResponse==FALSE, Rank sum statisitic normalized between -1 and 1 if STATICResponse==TRUE.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
SimulatedReferenceSpace <-
matrix(
rnorm(n = 100000, mean = 0, sd = 100),
ncol = 10,
dimnames = list(1:10000, 11:20)
)
PhysioSpaceMethods:::.wilTest(
ReferencesJ = SimulatedReferenceSpace[, 9],
iplus = sample(
1:nrow(SimulatedReferenceSpace),
size = nrow(SimulatedReferenceSpace) / 20
),
iminus = sample(
1:nrow(SimulatedReferenceSpace),
size = nrow(SimulatedReferenceSpace) / 20
),
STATICResponse = FALSE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.