Description Usage Arguments Value Author(s) Examples
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.
1 | meta.test(x, varname, stat = "t")
|
x |
MetaArray object |
varname |
A String indicating which column of clinical data matrices should be used as class labels. Column of such name must be present in all datasets. It must not be a binary vector (0's and 1's) |
stat |
A character String indicating the type of test statistic to be computed as used in |
A list with two slots:
test |
A data frame of statistics in which rows correspond to genes and columns to data sets |
p |
A data frame of p-values (only if |
Ivana Ihnatova
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(Singhdata)
cl1<-as.data.frame(Singhdata$classes[[1]]+1)
names(cl1)<-"classlab"
cl2<-as.data.frame(Singhdata$classes[[2]]+1)
names(cl2)<-"classlab"
cl3<-as.data.frame(Singhdata$classes[[3]]+1)
names(cl3)<-"classlab"
rownames(Singhdata$esets[[1]])<-Singhdata$geneNames
rownames(Singhdata$esets[[2]])<-Singhdata$geneNames
rownames(Singhdata$esets[[3]])<-Singhdata$geneNames
data<-new("MetaArray", GEDM=list(Singhdata$esets[[1]], Singhdata$esets[[2]], Singhdata$esets[[3]]),
clinical=list(cl1, cl2, cl3), datanames=c("dataset1", "dataset2", "dataset3"))
m<-meta.test(data,"classlab")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.