rank.genes.adv: Function to rank genes

Description Usage Arguments Value Author(s) See Also Examples

Description

A wrapper function to rank.genes. This function provides a data frame of ranks, where rows correspond to genes and columns to data sets.

Usage

1

Arguments

testp

A list with two slots: test and p, where test is data frame of T-statistics and p is data frame of p-values. In both rows refer to genes and columns to data sets. It is output from meta.test function.

Value

A data frame of ranks, where rows correspond to genes and columns to data sets.

Author(s)

Ivana Ihnatova

See Also

meta.test, rank.genes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 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")
rank.genes.adv(m)

MAMA documentation built on Jan. 15, 2017, 3:05 p.m.

Related to rank.genes.adv in MAMA...