Learn R Programming

MAMA (version 1.0.2)

meta.test: Function to compute T-statistic and p-value in meta-analysis

Description

Function meta.test returns a list with two slots: data frame of test statistics and data frame of p-values. In each of the matrices rows correspond to genes and columns to data sets.

Usage

meta.test(..., class.col, data.names)

Arguments

...
Data sets as ExpressionSet objects.
class.col
A numeric vector indicating which column of pData() has to be used as class labels.
data.names
A character vector with names of the data sets.

Value

  • A list with two slots:
  • testA data frame of T-statistics in which rows correspond to genes and columns to data sets
  • pA data frame of p-values (for T-statistics in test slot in which rows correspond to genes and columns to data sets

Examples

Run this code
m<-meta.test(denmark, australia, japan, class.col=c(1,1,2), data.names=c("denmark","australia","japan"))

Run the code above in your browser using DataLab