dot-wilTest: Wilcoxon Rank Sum testing Between Plus and Minus Genes

Description Usage Arguments Value Examples

Description

.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.

Usage

1
.wilTest(ReferencesJ, iplus, iminus, STATICResponse)

Arguments

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.

Value

Log2 signed p value of Rank sum test if STATICResponse==FALSE, Rank sum statisitic normalized between -1 and 1 if STATICResponse==TRUE.

Examples

 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)

JRC-COMBINE/PhysioSpaceMethods documentation built on July 27, 2021, 12:53 p.m.