dot-tTest: T-testing Between Plus and Minus Genes

Description Usage Arguments Value Examples

Description

.tTest is an internal function used by calculatePhysioMap. It does a t-test between iplus and iminus indexed genes in ReferencesJ.

Usage

1
.tTest(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 t-test if STATICResponse==FALSE, t-test statisitic 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:::.tTest(
   ReferencesJ = SimulatedReferenceSpace[, 4],
   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.