maStat {marray} | R Documentation

## A function to calculates various statistics

### Description

`maStat` calculates various statistcs for genes in the array `expr' using the functions in `funNames'.It returns an matrix of values.

### Usage

    maStat(expr, funNames, ...)

### Arguments

`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'

.

### Value

A matrix of values.

### Author(s)

Yee Hwa (Jean) Yang

### See Also

`meanFun`, `ttestFun`

### Examples

     X <- matrix(rnorm(1000), 100,10)
     maStat(X, funNames=c("meanFun", "ttestFun"))
     maStat(X, funNames=list(mean=meanFun(), t=ttestFun()))

[Package Contents]