You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 11-gprofiler2.Rmd
+20-14Lines changed: 20 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -37,33 +37,39 @@ Since we are doing ORA, we will need a filtered gene list, and a background gene
37
37
38
38
<p> </p> <!-- insert blank line -->
39
39
40
-
## End of activity summary
41
-
42
-
- We have extracted a gene list and background gene list from a DE dataset and run ORA with `gprofiler2``gost` function
43
-
- We have plotted the data with `gostplot` Manhattan plots and `ggplot2` dotplots
44
-
- We have run a `gost` multi-query separating up and down regulated genes
45
-
- We have verified that `gprofiler2` results match the results from `g:Profiler` web
46
-
- We have captured all version details relevant to the session within the R notebook
47
-
48
-
<p> </p> <!-- insert blank line -->
49
-
50
-
The last task is to `knit` the notebook. Our notebook is editable, and can be changed. Deleting code deletes the output, so we could lose valuable details. If we knit the notebook to HTML, we have a permanent static copy of the work.
51
-
40
+
**To finish up:** The last task is to `knit` the notebook. Our notebook is editable, and can be changed. Deleting code deletes the output, so we could lose valuable details. If we knit the notebook to HTML, we have a permanent static copy of the work.
52
41
53
42
➤ Knit the notebook to HTML
54
43
55
44
On the `editor` pane toolbar, under `Preview`, select `Knit to HTML`.
56
45
57
46
If you have already run `Preview`, you will see `Knit` instead of `Preview`.
58
47
59
-
The HTML file will be saved in the same directory as the notebook, and with the same filename, but the `.Rmd` prefix will be replaced by `.html`. The knit HTML will typically open automatically once complete. If you receive a popup blocker error, click `cancel`, and in the `Files` pane of RStudio, single click the `gprofiler.html` file and select `View in Web Browser`.
48
+
The HTML file will be saved in the same directory as the notebook, and with the same filename, but the `.Rmd` prefix will be replaced by `.html`. The knit HTML will typically open automatically once complete.
49
+
50
+
❗If you receive a popup blocker error, click `cancel` (not `try again`), and in the `Files` pane of RStudio, single click the `gprofiler.html` file and select `View in Web Browser`.
Note that the notebook will only successsfully knit if there are <spanstyle="color: red;">no errors</span> in the code. You can 'preview' HTML with code errors.
66
57
67
-
✋ **If your knit fails, please ask for assistance resolving the errors**
58
+
✋ **If your knit fails, please ask for assistance resolving the errors**
59
+
60
+
## End of activity summary
61
+
62
+
- We have extracted a gene list and background gene list from a DE dataset and run ORA with `gprofiler2``gost` function
63
+
- We have plotted the data with `gostplot` Manhattan plots and `ggplot2` dotplots
64
+
- We have run a `gost` multi-query separating up and down regulated genes
65
+
- We have verified that `gprofiler2` results match the results from `g:Profiler` web
66
+
- We have saved a rendered HTML document as a static record of our analysis including all code executed, parameters applied, as well as version information for R, RStudio, R packages and gProfiler database to ensure reproducibility
Copy file name to clipboardExpand all lines: 12-clusterprofiler.Rmd
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# clusterProfiler and enrichplot
2
2
3
3
4
-
[clusterProfiler](https://bioconductor.org/packages/release/bioc/html/clusterProfiler.html) is a comprehensive suite of enrichment tools. It has functions to run ORA or GSEA over commonly used databases (GO, KEGG, KEGG Modules, DAVID, Pathway Commons, WikiPathways) as well as universal enrichment functions to perform ORA or GSEA with custom gene sets. We will use these universal tools in the final activity of this workshop, focusing on the supported organisms and datbases for the present activity.
4
+
[clusterProfiler](https://bioconductor.org/packages/release/bioc/html/clusterProfiler.html) is a comprehensive suite of enrichment tools. It has functions to run ORA or GSEA over commonly used databases (GO, KEGG, KEGG Modules, DAVID, Pathway Commons, WikiPathways) as well as universal enrichment functions to perform ORA or GSEA with novel species or custom gene sets. We will use these universal tools in the final activity of this workshop, focusing on the supported organisms and datbases for the present activity.
5
5
6
6
One of the key advantages of using R over web tools is flexibility with visualisations.
7
7
@@ -46,7 +46,7 @@ Since we have covered ORA with `gprofiler`, we will perform a GSEA with `cluster
46
46
3. Extract the gene IDs and sort by log2 fold change to create the GSEA ranked gene list R object
47
47
4. Use `bitr` to convert gene IDs from ENSEMBL to ENTREZ for compatability with `gseKEGG`
48
48
5. Perform GSEA with `gseKEGG`
49
-
6. Visualise results with `enrichplot`
49
+
6. Visualise results with many different plot types from `enrichplot`
50
50
51
51
<p> </p> <!-- insert blank line -->
52
52
@@ -69,10 +69,10 @@ Let's head over to RStudio now and try out some functions! 🏃
69
69
70
70
## End of activity summary
71
71
72
-
- We have explored the supported organismsand namespaces of the `clusterProfiler` enrichment functions
72
+
- We have explored the supported organisms, namespaces and databases of the `clusterProfiler` enrichment functions
73
73
- We have extracted a ranked gene list for GSEA and converted the gene IDs for compatability with `gseKEGG`
74
74
- We have performed GSEA on the KEGG database with `gseKEGG` and visualised the results with multiple plot types
75
-
- We have captured all version details relevant to the session within the R notebook
75
+
- We have captured all version details relevant to the session within the R notebook and knit the file to HTML for record keeping
0 commit comments