Description Usage Arguments Value Note Author(s)
View source: R/differentialMethylation.R
performs a two-sided t-test for paired samples on each row of a matrix X with the indices inds.1 vs indices inds.g2 as group assignments.
1 | rowPairedTP(X, inds.g1, inds.g2 = -inds.g1, alternative = "two.sided")
|
X |
Matrix on which the test is performed for every row |
inds.g1 |
column indices of group 1 members. |
inds.g2 |
column indices of group 2 members. |
alternative |
Testing alternative. Must be one of "two.sided" (default),"less","greater" or "all". in case of "all" a data frome with corresping alternative variables is returned. Otherwise the result is a vector. |
vector (or data.frame if alternative=="all") of p-values from a paired t-test
Requires matrixStats
package
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.