Skip to contents

This function to perform Fishers enrichment analysis. Tests the enrichment of `genesInGeneSet` in `genesInModule` considering a bacckground gene set of `genesInBackground`.

Usage

fisherEnrichment(genesInModule, genesInGeneSet, genesInBackground)

Arguments

genesInModule

Required. A character vector of differentially expressed genes or genes in a given module to test

genesInGeneSet

Required. A character vector of genes in a gene set like GO annotations, pathways etc.

genesInBackground

Required. A character vector of background genes

Value

A dataframe consisting of column value of fisher test P-Value. number of genes in the test set, enrichment set, the overlap, odds ratio and the genes from the test set which are present in the enrichment set.