This package is designed for reactome pathway-based analysis. Reactome is an open-source, open access, manually curated and peer-reviewed pathway database.
If you use ReactomePA1 in published research, please cite:
G Yu, QY He*. ReactomePA: an R/Bioconductor package for reactome pathway analysis and visualization. Molecular BioSystems 2016, 12(2):477-479. doi:[10.1039/C5MB00663E](http://dx.doi.org/10.1039/C5MB00663E)
Currently ReactomePA supports several model organisms, including ‘celegans’, ‘fly’, ‘human’, ‘mouse’, ‘rat’, ‘yeast’ and ‘zebrafish’. The input gene ID should be Entrez gene ID. We recommend using clusterProfiler::bitr
to convert biological IDs. For more detail, please refer to bitr: Biological Id TranslatoR.
Enrichment analysis is a widely used approach to identify biological themes. Here, we implement hypergeometric model to assess whether the number of selected genes associated with reactome pathway is larger than expected. The p values were calculated based the hypergeometric model2.
library(ReactomePA)
data(geneList)
de <- names(geneList)[abs(geneList) > 1.5]
head(de)
## [1] "4312" "8318" "10874" "55143" "55388" "991"
x <- enrichPathway(gene=de,pvalueCutoff=0.05, readable=T)
head(as.data.frame(x))
## ID
## R-HSA-69620 R-HSA-69620
## R-HSA-2500257 R-HSA-2500257
## R-HSA-141424 R-HSA-141424
## R-HSA-141444 R-HSA-141444
## R-HSA-69618 R-HSA-69618
## R-HSA-68877 R-HSA-68877
## Description
## R-HSA-69620 Cell Cycle Checkpoints
## R-HSA-2500257 Resolution of Sister Chromatid Cohesion
## R-HSA-141424 Amplification of signal from the kinetochores
## R-HSA-141444 Amplification of signal from unattached kinetochores via a MAD2 inhibitory signal
## R-HSA-69618 Mitotic Spindle Checkpoint
## R-HSA-68877 Mitotic Prometaphase
## GeneRatio BgRatio pvalue p.adjust qvalue
## R-HSA-69620 37/317 293/10513 9.088780e-14 6.343968e-11 5.491536e-11
## R-HSA-2500257 23/317 127/10513 3.172506e-12 1.005875e-09 8.707168e-10
## R-HSA-141424 20/317 96/10513 5.764327e-12 1.005875e-09 8.707168e-10
## R-HSA-141444 20/317 96/10513 5.764327e-12 1.005875e-09 8.707168e-10
## R-HSA-69618 21/317 112/10513 1.433433e-11 2.001072e-09 1.732190e-09
## R-HSA-68877 26/317 200/10513 2.793891e-10 3.250226e-08 2.813497e-08
## geneID
## R-HSA-69620 CDC45/CDCA8/MCM10/CDC20/CENPE/CCNB2/NDC80/UBE2C/SKA1/CENPM/CENPN/CCNA2/CDK1/ERCC6L/MAD2L1/KIF18A/BIRC5/AURKB/CHEK1/CCNB1/MCM5/MCM2/KIF2C/CDC25A/CDC6/PLK1/BUB1B/GTSE1/EXO1/ZWINT/CENPU/SPC25/CENPI/CCNE1/ORC6/ORC1/TAOK1
## R-HSA-2500257 CDCA8/CDC20/CENPE/CCNB2/NDC80/SKA1/CENPM/CENPN/CDK1/ERCC6L/MAD2L1/KIF18A/BIRC5/AURKB/CCNB1/KIF2C/PLK1/BUB1B/ZWINT/CENPU/SPC25/CENPI/TAOK1
## R-HSA-141424 CDCA8/CDC20/CENPE/NDC80/SKA1/CENPM/CENPN/ERCC6L/MAD2L1/KIF18A/BIRC5/AURKB/KIF2C/PLK1/BUB1B/ZWINT/CENPU/SPC25/CENPI/TAOK1
## R-HSA-141444 CDCA8/CDC20/CENPE/NDC80/SKA1/CENPM/CENPN/ERCC6L/MAD2L1/KIF18A/BIRC5/AURKB/KIF2C/PLK1/BUB1B/ZWINT/CENPU/SPC25/CENPI/TAOK1
## R-HSA-69618 CDCA8/CDC20/CENPE/NDC80/UBE2C/SKA1/CENPM/CENPN/ERCC6L/MAD2L1/KIF18A/BIRC5/AURKB/KIF2C/PLK1/BUB1B/ZWINT/CENPU/SPC25/CENPI/TAOK1
## R-HSA-68877 CDCA8/CDC20/CENPE/CCNB2/NDC80/NCAPH/SKA1/NEK2/CENPM/CENPN/CDK1/ERCC6L/MAD2L1/KIF18A/BIRC5/NCAPG/AURKB/CCNB1/KIF2C/PLK1/BUB1B/ZWINT/CENPU/SPC25/CENPI/TAOK1
## Count
## R-HSA-69620 37
## R-HSA-2500257 23
## R-HSA-141424 20
## R-HSA-141444 20
## R-HSA-69618 21
## R-HSA-68877 26
For calculation/parameter details, please refer to the vignette of DOSE3..
Pathway analysis using NGS data (eg, RNA-Seq and ChIP-Seq) can be performed by linking coding and non-coding regions to coding genes via ChIPseeker package, which can annotates genomic regions to their nearest genes, host genes, and flanking genes respectivly. In addtion, it provides a function, seq2gene, that simultaneously considering host genes, promoter region and flanking gene from intergenic region that may under control via cis-regulation. This function maps genomic regions to genes in a many-to-many manner and facilitate functional analysis. For more details, please refer to ChIPseeker4.
We implement barplot, dotplot enrichment map and category-gene-network for visualization. It is very common to visualize the enrichment result in bar or pie chart. We believe the pie chart is misleading and only provide bar chart.
barplot(x, showCategory=8)
dotplot(x, showCategory=15)
Enrichment map can be viusalized by enrichMap:
enrichMap(x, layout=igraph::layout.kamada.kawai, vertex.label.cex = 1)