PathwayEnrichment: 'PathwayEnrichment' a function that perform a pathway...

Description Usage Arguments Value Author(s) Examples

Description

PathwayEnrichment a function that perform a pathway enrichment analysis Return a barplot that show the enriched pathway and its p value(fisher test) that is smaller than the ajusted p value. The null hypothesis for each fisher test: the pathway is not enriched in the given gene set.

Usage

1
PathwayEnrichment(geneSet, reactInfo)

Arguments

geneSet

A list of gene symbol in the system that you want to perform pathway enrichment analysis.

reactInfo

a dataframe map the reactome pathway id to the reference gene symbol

Value

a dataframe that show the enriched pathway, adjusted pa value using Bonferroni and Benjamini-Hochberg methods,and its p value(fisher test).

Author(s)

Yufei Yang (aut)

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Picking sample gene list to find the pathway enrichment and p value
# Call the symComp helper function to generate list
sampleGeneList <- c("CREBBP","NR1H3","RORA","SREBF1","SMARCD3")
reactInfo <- fetchData("ReactomeSym")
result <- PathwayEnrichment(sampleGeneList,reactInfo)

## End(Not run)

hyginn/BCB420.2019.ESA documentation built on May 29, 2019, 1:23 p.m.