enrichGeneList: Perform functional enrichment on a set of genes.

Description Usage Arguments Examples

View source: R/api_wrapper.R

Description

This function interacts with Enrichr's REST API in order to perform functional enrichment of a single set of genes, for a set of specified databases which are already fronted by Enrichr. Databases are specified as seen in the web interface, with underscores for spaces (e.g. "WikiPathways_2016", "KEGG_2016", "GO_Biological_Process"). See http://amp.pharm.mssm.edu/Enrichr/#stats for more databases.

Usage

1
enrichGeneList(gene.list, databases = "KEGG_2016", fdr.cutoff = 0.1)

Arguments

gene.list

a character vector of gene symbols. Required

databases

a character vector of Enrichr-fronted databases. Default: KEGG_2016

fdr.cutoff

An FDR (adjusted p-value) threshold by which to limit the list of enriched pathways. Default = 0.1

Examples

1
2
3
4
5
6
\donotrun{
# Analysis of genes associated with asperger syndrome
genes <- c("DISC1", "ASPG4", "ASPG1", "ASPG2", "SLC6A4", "ASPG3", "FRAXE", "FRAXA", "FHIT", "NTM", "SLTM", "RASGRP4", "NOS2", "NOS1", "SHANK3", "DISC2", "TSNAX", "OXTR", "ARSD")
res <- enrichGeneList(gene.list = genes, databases = c("KEGG_2016", "WikiPathways_2016"), fdr.cutoff = 0.1)
DT::datatable(res)
}

compbiomed/enrichR documentation built on May 13, 2019, 9:55 p.m.