Perform Gene Ontology enrichment analysis of DMRs using GOfuncR
.
Usage
GOfuncR(
sigRegions = sigRegions,
regions = regions,
n_randsets = 1000,
upstream = 5000,
downstream = 1000,
annoDb = annoDb,
TxDb = TxDb,
...
)
Arguments
- sigRegions
GRanges
object of DMRs.- regions
GRanges
object of background regions.- n_randsets
Number specifying the number of random sets for calculating the FWER.
- upstream
Numeric of how many bases to extend upstream from gene body for mapping DMRs to genes.
- downstream
Numeric of how many bases to extend downstream from gene body for mapping DMRs to genes.
- annoDb
Character specifying
OrgDb
annotation package for species of interest.- TxDb
TxDb
orEnsDb
annotation package for genome of interest.- ...
Additional arguments passed onto
GOfuncR::go_enrich()
.