enrichment_geneSet {scsR} | R Documentation

## enrichment_geneSet

### Description

Computes the hypergeometric p-value that represents the enrichment of genesetA with genes of the genesetB.

### Usage

    enrichment_geneSet(genesetA, genesetB, background=NULL, quiet=FALSE)

### Arguments

`genesetA` | vector of sorted genes (vector of strings)
`genesetB` | vector of sorted genes (vector of strings)
`background` | vector of genes to be used as background (vector of strings)
`quiet` | avoid print any message/warning (boolean)

### Value

the hypergeometric p-value that represents the enrichment of genesetA with genes of the genesetB. (integer)

### Author(s)

Andrea Franceschini

### Examples

    	data(uuk_screen)
    	data(uuk_screen_dh)
    	enrichment_geneSet(unique(uuk_screen$GeneID)[1:200],
                       unique(uuk_screen_dh$GeneID)[1:400],
                       intersect(uuk_screen$GeneID, uuk_screen_dh$GeneID))

[Package scsR version 1.23.0 Index]