newGOM: Constructor for the GeneOverlapMatrix class

Description Usage Arguments Details Value See Also Examples

Description

Use this function to create objects of the GeneOverlapMatrix class.

Usage

1
2
newGOM(gsetA, gsetB=list(), genome.size=NULL, 
    spec=c('mm9.gene', 'hg19.gene', 'rn4.gene'))

Arguments

gsetA

Gene set A as a named list with each element being a vector/factor of gene names.

gsetB

Gene set B as a named list with each element being a vector/factor of gene names.

genome.size

The number of genes in the genome as an integer.

spec

A string description of the genome to use. There are a few presetted genome sizes to choose from for a user's convenience.

Details

This will create a matrix so that each grid represents the comparison between the two gene lists from the two gene sets. Given two gene sets A and B, the matrix will represent all comparisons bewteen gene lists in A vs. gene lists in B. The set A will be shown as rows and the set B will be shown as columns. If only gene set A is given, the matrix will represent all comparisons between gene lists within the gene set and only the upper triangular matrix will be used.

Value

A GeneOverlapMatrix object. Use accesssors to access to its internal structure and members. Use show or print to obtain summarized information. Use drawHeatmap to visualize it.

See Also

GeneOverlapMatrix-class, GeneOverlap-class

Examples

1
2
3
4
data(GeneOverlap)
gom.obj <- newGOM(hESC.ChIPSeq.list, hESC.RNASeq.list, gs.RNASeq)
gom.obj
drawHeatmap(gom.obj)

shenlab-sinai/geneoverlap-old documentation built on May 29, 2019, 9:22 p.m.