data matrix. Note that the columns correspond to variables (“genes”)
and the rows to samples.
L
factor with class labels for the two groups. If only a single label is given then a one-sample t score against 0 is computed.
var.equal
assume equal (default) or unequal variances in each group.
paired
compute paired t-score (default is to use unpaired t-score).
d
Value
The studentt.stat function returns a vector containing the t-statistic for each variable. It can be specified whether the variances in the two groups are equal. A paired t-score can also be computed.
The studentt.fun function returns a function that computes the t-score
statistics when applied to a data matrix (useful for simulations).