gene.list: Intersect of gene lists

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function takes list of gene list as input and returns a matrix of gene names common in pairs of lists

Usage

1
gene.list(lists)

Arguments

lists

list of vectors. Each vector refers to a method and contains names of significant genes

Details

Simmilar to conting.tab and Z, but provides different output

Value

A matrix of gene names common in two gene lists

Author(s)

Ivana Ihnatova

See Also

conting.tab, Z

Examples

1
2
3
4
lists<-list(Method1=c("Gene_A", "Gene_V","Gene_S","Gene_C","Gene_U","Gene_D","Gene_E","Gene_G","Gene_W"), 
  Method2=c("Gene_D","Gene_W","Gene_G","Gene_E","Gene_H","Gene_X"),
  Method3=c("Gene_L","Gene_K","Gene_J","Gene_M","Gene_V","Gene_T","Gene_R","Gene_U"))
gene.list(lists)

Example output

Loading required package: genefilter
Loading required package: metaMA

Attaching package: 'metaMA'

The following object is masked from 'package:genefilter':

    rowVars

Loading required package: xtable
Loading required package: multtest
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colMeans, colSums, colnames, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
    pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
    setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min

Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: gtools
Loading required package: grid
Loading required package: GeneMeta

Attaching package: 'MAMA'

The following objects are masked from 'package:GeneMeta':

    multExpFDR, zScoreFDR, zScorePermuted, zScores

        Method1                       Method2                      
Method1 NA                            "Gene_D;Gene_E;Gene_G;Gene_W"
Method2 "Gene_D;Gene_W;Gene_G;Gene_E" NA                           
Method3 "Gene_V;Gene_U"               ""                           
        Method3        
Method1 "Gene_V;Gene_U"
Method2 ""             
Method3 NA             

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

Related to gene.list in MAMA...