Learn R Programming

MAMA (version 2.1.0)

entitybuild2: Function to calculate test statistic for microarray data

Description

Calculates test statistic for microarray data

Usage

entitybuild2(expr.mat, ALLtype = NULL, type, dataset = NULL, minSampleNum = 3, method = "t", random = FALSE)

Arguments

expr.mat
Expression matrix, with rows corresponding to genes and columns to samples
ALLtype
Vector of class labels, must be factor
type
Levels of class labels
dataset
Name of the dataset
minSampleNum
Minimal number of samples required for test statistic
method
Type of test as in mt.teststat (one of fc, t, z)
random
Logical, if TRUE samples are assinged to groups randomly

Value

  • Vector of test statistics.

References

Yang, X., Bentink, S. a Spang, R. 2005, Detecting Common Gene Expression Patterns in Multiple Cancer Outcome Entities, Biomedical Microdevices, vol.7:3

Examples

Run this code
data(Singhdata)
group<-as.factor(Singhdata$classes[[1]])
entitybuild2(Singhdata$esets[[1]], ALLtype=group, type=levels(group))

Run the code above in your browser using DataLab