metagene: Function to do extract row from list of data.frames

Description Usage Arguments Value Author(s) Examples

Description

Function extracts one row (specified by number or name) from all data.frames of input list

Usage

1
metagene(x, results)

Arguments

x

number or name of row to be extracted

results

list of data frame (for example outputs of methods of meta-analysis where rows refer to genes or probesets)

Value

list, one slot refer to one data.frame

Author(s)

Ivana Ihnatova

Examples

1
2
3
4
5
A<-data.frame(x=rep(c(1,2,3),2),y=rep(c("a","b","c"),2))
B<-data.frame(x=rep(c(9,8,7),2),y=rep(c("x","y","z"),2))
res<-list(A=A,B=B)
metagene(2,res)
               

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

Related to metagene in MAMA...