Description Usage Arguments Value Examples
.tTest is an internal function used by calculatePhysioMap. It does a t-test between iplus and iminus indexed genes in ReferencesJ.
1 | .tTest(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 t-test if STATICResponse==FALSE, t-test statisitic 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:::.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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.