Learn R Programming

MAMA (version 2.2.1)

compute.RQ: Function to compute R and Q statistics as defined in - see References

Description

Function computes R (average rank across studies) and Q (sum of the squared deviations of each study's rank for the gene from the mean of the ranks for that gene)

Usage

compute.RQ(RAN)

Arguments

RAN
matrix with rank of genes as produced by rank.genes, with rows coresponding to genes and columns coresponding to studies

Value

matrix with first column of R statistic and second of Q statistic

References

Zintzaras, E., Ioannidis, J.P.A 2008 Meta-analysis for ranked discovery datasets: Theoretical framework and empirical demonstration for microarrays, Computational Biology and Chemistry 32, 39-47

See Also

rank.genes,MCtest

Examples

Run this code
RANK<-cbind(sample(100), sample(100), sample(100))
RQ<-compute.RQ(RANK)
head(RQ)

Run the code above in your browser using DataLab