findEnrichedFunctions {RCAS} | R Documentation

## findEnrichedFunctions

### Description

Find enriched functional terms among the genes that overlap the regions of interest.

### Usage

    findEnrichedFunctions(targetGenes, species, ...)

### Arguments

`targetGenes` | Vector of Ensembl gene ids or gene names
`species` | First letter of genus + species name: e.g. hsapiens
`...` | Other arguments to be passed to gprofiler2::gost

### Details

This function is basically a call to gprofiler2::gost function. It is here to serve as a replacement for other deprecated functional enrichment functions.

### Examples

    data(gff)
    data(queryRegions)

    overlaps <- queryGff(queryRegions, gff)
    res <- findEnrichedFunctions(unique(overlaps$gene_id), 'hsapiens')

[Package RCAS version 1.20.0 Index]