module_compare: Compare enrichment by modules

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Awrapper to run comparCluster, gofiler and extract results

Usage

1
module_compare(index, level = 4, ...)

Arguments

index

A list of items each is a set og gene IDs

level

An integer, the Gene Ontology

...

Other arguments passed to compareCluster

Value

A data.frame as in the slot compareClusterResult

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
# load required libraries
library(org.Mm.eg.db)

# make an index of gene sets
ind <- list(blue = c("Acbd5", "Atg5", "Atm", "Bmf"),
            brown = c("Atg4c", "Il3", "Lamp3", "Lepr", "Mefv"))

# run comparison
module_compare(ind,
               fun = 'enrichGO',
               OrgDb = org.Mm.eg.db,
               keyType = 'SYMBOL',
               ont = 'MF',
               pAdjustMethod = 'fdr')

## End(Not run)

MahShaaban/rkip documentation built on May 23, 2019, 8:37 a.m.