Functional Analysis of Gene Lists
This repository has teaching materials for a 3 hour, hands-on Functional Analysis workshop led at a relaxed pace. Functional analysis methods help us to gain insight about the biology underlying a list of genes. These genes could be output from a differential expression analysis, a GWAS analysis, proteomics analysis, etc. Regardless of the source of the gene list, functional analysis can explore whether particular pathways or processes are enriched among a list of genes.
In this workshop, we will use over-representation analysis (ORA) and functional class scoring (FCS) methods to identify potential pathways that are associated with our list of genes. We will be using the clusterProfiler R package to determine whether there is enrichment of any gene ontology (GO) processes in a list of genes and generate plots from the results. We will also give a brief introduction to using clusterProfiler to perform FCS with gene set enrichment analysis (GSEA) followed by the Pathview R package for visualization.
- Using GO terms to explore enriched processes: Determining how functions are attributed to genes using Gene Ontology terms
- Interpreting the results of enrichment tests: Understanding the theory of how functional enrichment tools yield statistically enriched functions or interactions
- Descibing the different classes of functional analysis tools: Discussing functional analysis using over-representation analysis, functional class scoring, and pathway topology methods
- Utilizing functional analysis tools to generate hypotheses regarding enriched processes/pathways: Explore a variety of functional analysis tools
These materials are developed for a trainer-led workshop, but also amenable to self-guided learning.
|Setting up||15 min|
|Functional analysis methods||165 min|
Download the most recent versions of R and RStudio for your laptop:
Install the required R packages by running the following code in RStudio:
source("http://bioconductor.org/biocLite.R") biocLite(c("clusterProfiler", "DOSE", "org.Hs.eg.db", "pathview", "treemap", "purrr", "SPIA"))
Load the libraries to make sure the packages installed properly:
library(clusterProfiler) library(DOSE) library(org.Hs.eg.db) library(pathview) library(treemap) library(purrr) library(SPIA)
NOTE: The library used for the annotations associated with genes (here we are using
org.Hs.eg.db) will change based on organism (e.g. if studying mouse, would need to install and load
org.Mm.eg.db). The list of different organism packages are given here.
These materials have been developed by members of the teaching team at the Harvard Chan Bioinformatics Core (HBC). These are open access materials distributed under the terms of the Creative Commons Attribution license (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.