maStat {marray} | R Documentation |
maStat
calculates various statistcs for genes in the array
`expr' using the functions in `funNames'.It returns an matrix of
values.
maStat(expr, funNames, ...)
expr |
An object of class "matrix", "dataframe", "marrayRaw", "marrayNorm" or "exprSet" that contains gene expression data. |
funNames |
Either a character strings containning the names of functions or a list of statistics functions. |
... |
further arguments to the functions is 'funNames' |
.
A matrix of values.
Yee Hwa (Jean) Yang
X <- matrix(rnorm(1000), 100,10) maStat(X, funNames=c("meanFun", "ttestFun")) maStat(X, funNames=list(mean=meanFun(), t=ttestFun()))