
dstar(d, n)
getdF(data, categ)
sigmad(d, ng1, ng2)
getdF
.matrix
or an ExpressionSet
.getdF
compute t-test statistics
for the input data and group membership (note that group membership
must be indicated by a vector of 0's and 1's). The function dstar
computes an unbiased estimate of the t-test.
The function sigmad
computes the variance estimate of
dstar
.
x = matrix(rnorm(1000), ncol=10)
ds = getdF(x, rep(c(0,1), c(5,5)))
dst = dstar(ds, ncol(x))
sgd = sigmad(ds, 5, 5)
Run the code above in your browser using DataLab