|
| 1 | +# Introduction |
| 2 | + |
| 3 | +## Day 1 recap |
| 4 | + |
| 5 | +- We explored several web-based tools and databases for performing Functional Enrichment Analysis (FEA) |
| 6 | +- Two types of FEA, Over-Representation Analysis (ORA) and Gene Set Enrichment Analysis (GSEA), were introduced and their differences discussed |
| 7 | +- We examined how filtering the input gene list and selecting the background gene list (the "statistical domain scope") influence ORA results |
| 8 | +- We explored how the choice of ranking metric affects GSEA outcomes |
| 9 | +- The impact of database selection on FEA results was evaluated |
| 10 | +- Differences in outputs between various tools were compared and discussed |
| 11 | +- Uncertainties, implications, and recommendations were highlighted to address challenges in gene set analysis |
| 12 | + |
| 13 | +<p> </p> <!-- insert blank line --> |
| 14 | + |
| 15 | +## Day 2 overview |
| 16 | + |
| 17 | +In day 2 of this workshop, we will focus on FEA with R-based tools. |
| 18 | + |
| 19 | +1. R environment setup including VM login |
| 20 | +2. ORA with `gprofiler2` including multi-query of up and down regulated genes |
| 21 | +3. GSEA over KEGG database with `clusterProfiler` and multiple enrichmnet visualisations with `enrichplot` |
| 22 | +4. ORA and GSEA with `WebGestaltR`, interactive HTML reports, and exploration of term redundancy options |
| 23 | +5. Novel species FEA with `cluterProfiler`, `WebGestaltR` and `STRING` (web) |
| 24 | +6. End of workshop summary |
| 25 | + |
| 26 | +<p> </p> <!-- insert blank line --> |
| 27 | + |
| 28 | +## R FEA tool choice |
| 29 | + |
| 30 | +At a high level, there are 3 fundamental questions to consider when selecting an anaylsis tool: |
| 31 | + |
| 32 | +**1.** Does the governance of your data prohibit you from analysing it on an external server? (ie "highly protected" data) |
| 33 | +**2.** What web or R tools support your species and relevant annotation database? |
| 34 | +**3.** Are you comfortable using R? |
| 35 | + |
| 36 | +<p> </p> <!-- insert blank line --> |
| 37 | + |
| 38 | +<img src="images/r-v-web-decision-tree.png" style="border: none; box-shadow: none; background: none; width: 100%;"> |
| 39 | + |
| 40 | +<p> </p> <!-- insert blank line --> |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | +<p> </p> <!-- insert blank line --> |
| 45 | + |
| 46 | +## R FEA packages for FEA |
| 47 | + |
| 48 | +There are numerous R packages for FEA, each with their strenghts and limitations. It was difficult to restrict the chosen tools in order to fit within the time allocated for the workshop! |
| 49 | + |
| 50 | +<p> </p> <!-- insert blank line --> |
| 51 | + |
| 52 | +<img src="images/r-tools-comparison-high-level.png" style="border: none; box-shadow: none; background: none; width: 100%;"> |
| 53 | + |
| 54 | +<p> </p> <!-- insert blank line --> |
| 55 | + |
| 56 | +The following 3 R tools have been selected for today's workshop: |
| 57 | + |
| 58 | +**1.** `gprofiler1` due to its ease of use, high number of supported species, and multiple database enrichments produced within a single run. Caveat: only ORA analysis |
| 59 | +**2.** `clusterProfiler2` due to its integrated database support, runs both GSEA and ORA, companion plotting tool `enrichplot` with diverse plot options, and novel species support |
| 60 | +**3.** `WebGestaltR` due to its ease of use, high number of suported databases and namespaces, runs both GSEA and ORA, interactive HTML reports and plots, and novel species support |
| 61 | + |
| 62 | +## Day 2 approach |
| 63 | + |
| 64 | +For this part of the workshop, we will be doing a 'semi code-along' approach, where you are not required to type any code (apart from a few basics in the RStudio familiarisation part next up) but we will be running code chunks together, talking about what each part of the code is doing, and viewing the output in real time. All of the code required has been prepared into separate code files for each activity, and we will download these to the VMs in the next section. |
| 65 | + |
| 66 | + |
0 commit comments