Last updated: 2024-01-13
Checks: 7 0
Knit directory: 4_Treg_uNK/1_analysis/
This reproducible R Markdown analysis was created with workflowr (version 1.7.1). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.
Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.
The command set.seed(12345)
was run prior to running the
code in the R Markdown file. Setting a seed ensures that any results
that rely on randomness, e.g. subsampling or permutations, are
reproducible.
Great job! Recording the operating system, R version, and package versions is critical for reproducibility.
Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.
Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version a957cff. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for
the analysis have been committed to Git prior to generating the results
(you can use wflow_publish
or
wflow_git_commit
). workflowr only checks the R Markdown
file, but you know if there are other scripts or data files that it
depends on. Below is the status of the Git repository when the results
were generated:
Ignored files:
Ignored: .Rproj.user/
Untracked files:
Untracked: .gitignore
Untracked: 0_data/rds_objects/reactome.rds
Untracked: 0_data/rds_objects/reactome_all.rds
Untracked: 0_data/rds_objects/reactome_sig.rds
Untracked: 2_plots/3_FA/kegg/combine_kegg_dot.svg
Untracked: 2_plots/3_FA/kegg/heat_DT vs PBS_Antigen processing and presentation.svg
Untracked: 2_plots/3_FA/kegg/heat_DT vs PBS_Natural killer cell mediated cytotoxicity.svg
Untracked: 2_plots/3_FA/kegg/heat_DT vs PBS_Phagosome.svg
Untracked: 2_plots/3_FA/kegg/heat_DT vs PBS_Th1 and Th2 cell differentiation.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs DT_Antigen processing and presentation.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs DT_Natural killer cell mediated cytotoxicity.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs DT_Phagosome.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs DT_Th1 and Th2 cell differentiation.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs PBS_Antigen processing and presentation.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs PBS_Natural killer cell mediated cytotoxicity.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs PBS_Phagosome.svg
Untracked: 2_plots/3_FA/kegg/heat_Treg vs PBS_Th1 and Th2 cell differentiation.svg
Untracked: 2_plots/3_FA/kegg/kegg_dot_DT vs PBS.svg
Untracked: 2_plots/3_FA/kegg/kegg_dot_Treg vs DT.svg
Untracked: 2_plots/3_FA/kegg/kegg_dot_Treg vs PBS.svg
Untracked: 2_plots/3_FA/kegg/kegg_upset_DT vs PBS.svg
Untracked: 2_plots/3_FA/kegg/kegg_upset_Treg vs DT.svg
Untracked: 2_plots/3_FA/kegg/kegg_upset_Treg vs PBS.svg
Untracked: 2_plots/3_FA/reactome/
Untracked: 2_plots/functionalHeat.svg
Untracked: 2_plots/functionalHeat_DT vs PBS.svg
Untracked: 2_plots/functionalHeat_Treg vs DT.svg
Untracked: 2_plots/functionalHeat_legend.svg
Unstaged changes:
Modified: 0_data/rds_objects/comp.rds
Modified: 0_data/rds_objects/dge.rds
Modified: 0_data/rds_objects/enrichGO.rds
Modified: 0_data/rds_objects/enrichGO_sig.rds
Modified: 0_data/rds_objects/enrichKEGG.rds
Modified: 0_data/rds_objects/enrichKEGG_all.rds
Modified: 0_data/rds_objects/enrichKEGG_sig.rds
Modified: 0_data/rds_objects/lm.rds
Modified: 0_data/rds_objects/lm_all.rds
Modified: 0_data/rds_objects/lm_sig.rds
Modified: 1_analysis/_site.yml
Deleted: 1_analysis/gsea.Rmd
Modified: 2_plots/1_QC/counts_after_filtering.svg
Modified: 2_plots/1_QC/counts_before_after_filtering.svg
Modified: 2_plots/1_QC/counts_before_filtering.svg
Modified: 2_plots/1_QC/library_size.svg
Modified: 2_plots/2_DE/heat_DT vs PBS.svg
Modified: 2_plots/2_DE/heat_Treg vs DT.svg
Modified: 2_plots/2_DE/heat_Treg vs PBS.svg
Modified: 2_plots/2_DE/heat_combined.svg
Modified: 2_plots/2_DE/hist_DT vs PBS.svg
Modified: 2_plots/2_DE/hist_Treg vs DT.svg
Modified: 2_plots/2_DE/hist_Treg vs PBS.svg
Modified: 2_plots/2_DE/ma_DT vs PBS.png
Modified: 2_plots/2_DE/ma_Treg vs DT.png
Modified: 2_plots/2_DE/ma_Treg vs PBS.png
Modified: 2_plots/2_DE/venn.png
Modified: 2_plots/2_DE/vol_DT vs PBS.png
Modified: 2_plots/2_DE/vol_Treg vs DT.png
Modified: 2_plots/2_DE/vol_Treg vs PBS.png
Modified: 2_plots/3_FA/kegg/venn.png
Modified: 2_plots/sampleHeat.svg
Modified: 3_output/GO_sig.xlsx
Modified: 3_output/KEGG_all.xlsx
Modified: 3_output/KEGG_sig.xlsx
Modified: 3_output/de_genes_all.xlsx
Modified: 3_output/de_genes_sig.xlsx
Modified: 3_output/reactome_all.xlsx
Modified: 3_output/reactome_sig.xlsx
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
These are the previous versions of the repository in which changes were
made to the R Markdown (1_analysis/reactome.Rmd
) and HTML
(docs/reactome.html
) files. If you’ve configured a remote
Git repository (see ?wflow_git_remote
), click on the
hyperlinks in the table below to view the files as they were in that
past version.
File | Version | Author | Date | Message |
---|---|---|---|---|
Rmd | a957cff | Ha Manh Tran | 2024-01-13 | workflowr::wflow_publish(here::here("1_analysis/*Rmd")) |
Rmd | c78dfac | tranmanhha135 | 2024-01-12 | remote from ipad |
Rmd | 221e2fa | tranmanhha135 | 2024-01-10 | fixed error |
Rmd | 7d64f82 | tranmanhha135 | 2024-01-09 | completed ORA GO |
Rmd | 05fa0b3 | tranmanhha135 | 2024-01-06 | added description |
# working with data
library(dplyr)
library(magrittr)
library(readr)
library(tibble)
library(reshape2)
library(tidyverse)
# Visualisation:
library(kableExtra)
library(ggplot2)
library(grid)
library(pander)
library(cowplot)
library(pheatmap)
library(DT)
library(extrafont)
# Custom ggplot
library(ggbiplot)
library(ggrepel)
# Bioconductor packages:
library(edgeR)
library(limma)
library(Glimma)
library(clusterProfiler)
library(org.Mm.eg.db)
library(enrichplot)
library(ReactomePA)
library(pandoc)
library(knitr)
opts_knit$set(progress = FALSE, verbose = FALSE)
opts_chunk$set(warning=FALSE, message=FALSE, echo=FALSE)
Reactome database provides curated information about biological pathways, including molecular events and reactions within cells. It focuses on human biology and is widely used for pathway analysis and functional interpretation of high-throughput data.
KEGG and Reactome both include approximately the same number of genes. The difference lies in KEGG’s use of broader terms, while Reactome employs similar terms but with multiple detailed entries.
In the Reactome database, terms are organized hierarchically based on the classification of biological pathways. The organization follows a tree-like structure, where terms represent different levels of granularity in understanding molecular events and reactions within cells
The following visualisations are Reactome enrichment analysis performed with set of DE genes significantly below FDR < 0.1 without FC threshold (TREAT). IMPORTANTLY, significant Reactome pathways are significantly if FDR < 0.1
Dot plot: illustrates the enriched Reactome pathways
Table: list of all the significant Reactome pathways
Upset: illustrate the overlap of gene between different pathways
I recommend reading through the full list of significant Reactome pathways and selecting the most biologically relevant for more in-depth visualisation
The following are exported:
reactome_all.xlsx - This spreadsheet contains all Reactome pathways
reactome_sig.xlsx - This spreadsheet contains all significant (FDR < 0.1) Reactome pathways
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_Australia.utf8 LC_CTYPE=English_Australia.utf8
[3] LC_MONETARY=English_Australia.utf8 LC_NUMERIC=C
[5] LC_TIME=English_Australia.utf8
time zone: Australia/Adelaide
tzcode source: internal
attached base packages:
[1] stats4 grid stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] knitr_1.45 pandoc_0.2.0 ReactomePA_1.44.0
[4] enrichplot_1.20.3 org.Mm.eg.db_3.17.0 AnnotationDbi_1.62.2
[7] IRanges_2.34.1 S4Vectors_0.38.2 Biobase_2.60.0
[10] BiocGenerics_0.46.0 clusterProfiler_4.8.3 Glimma_2.10.0
[13] edgeR_3.42.4 limma_3.56.2 ggrepel_0.9.4
[16] ggbiplot_0.55 scales_1.3.0 plyr_1.8.9
[19] extrafont_0.19 DT_0.31 pheatmap_1.0.12
[22] cowplot_1.1.2 pander_0.6.5 kableExtra_1.3.4
[25] lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1
[28] purrr_1.0.2 tidyr_1.3.0 ggplot2_3.4.4
[31] tidyverse_2.0.0 reshape2_1.4.4 tibble_3.2.1
[34] readr_2.1.4 magrittr_2.0.3 dplyr_1.1.4
loaded via a namespace (and not attached):
[1] splines_4.3.1 later_1.3.2
[3] bitops_1.0-7 ggplotify_0.1.2
[5] polyclip_1.10-6 graph_1.78.0
[7] lifecycle_1.0.4 rprojroot_2.0.4
[9] lattice_0.21-8 MASS_7.3-60
[11] crosstalk_1.2.1 sass_0.4.8
[13] rmarkdown_2.25 jquerylib_0.1.4
[15] yaml_2.3.7 httpuv_1.6.13
[17] DBI_1.2.0 RColorBrewer_1.1-3
[19] abind_1.4-5 zlibbioc_1.46.0
[21] rvest_1.0.3 GenomicRanges_1.52.1
[23] ggraph_2.1.0 RCurl_1.98-1.13
[25] yulab.utils_0.1.1 tweenr_2.0.2
[27] rappdirs_0.3.3 git2r_0.33.0
[29] GenomeInfoDbData_1.2.10 tidytree_0.4.6
[31] reactome.db_1.84.0 svglite_2.1.3
[33] codetools_0.2-19 DelayedArray_0.26.7
[35] DOSE_3.26.2 xml2_1.3.6
[37] ggforce_0.4.1 tidyselect_1.2.0
[39] aplot_0.2.2 farver_2.1.1
[41] viridis_0.6.4 matrixStats_1.2.0
[43] webshot_0.5.5 jsonlite_1.8.8
[45] ellipsis_0.3.2 tidygraph_1.3.0
[47] systemfonts_1.0.5 tools_4.3.1
[49] treeio_1.24.3 Rcpp_1.0.11
[51] glue_1.6.2 gridExtra_2.3
[53] Rttf2pt1_1.3.12 here_1.0.1
[55] xfun_0.39 DESeq2_1.40.2
[57] qvalue_2.32.0 MatrixGenerics_1.12.3
[59] GenomeInfoDb_1.36.4 withr_2.5.2
[61] fastmap_1.1.1 fansi_1.0.6
[63] digest_0.6.33 timechange_0.2.0
[65] R6_2.5.1 gridGraphics_0.5-1
[67] colorspace_2.1-0 GO.db_3.17.0
[69] RSQLite_2.3.4 utf8_1.2.4
[71] generics_0.1.3 data.table_1.14.10
[73] graphlayouts_1.0.2 httr_1.4.7
[75] htmlwidgets_1.6.4 S4Arrays_1.0.6
[77] scatterpie_0.2.1 graphite_1.46.0
[79] whisker_0.4.1 pkgconfig_2.0.3
[81] gtable_0.3.4 blob_1.2.4
[83] workflowr_1.7.1 XVector_0.40.0
[85] shadowtext_0.1.2 htmltools_0.5.7
[87] fgsea_1.26.0 ggupset_0.3.0
[89] png_0.1-8 ggfun_0.1.3
[91] rstudioapi_0.15.0 tzdb_0.4.0
[93] nlme_3.1-164 cachem_1.0.8
[95] parallel_4.3.1 HDO.db_0.99.1
[97] pillar_1.9.0 vctrs_0.6.5
[99] promises_1.2.1 extrafontdb_1.0
[101] evaluate_0.23 cli_3.6.1
[103] locfit_1.5-9.8 compiler_4.3.1
[105] rlang_1.1.1 crayon_1.5.2
[107] labeling_0.4.3 fs_1.6.3
[109] stringi_1.8.3 viridisLite_0.4.2
[111] BiocParallel_1.34.2 munsell_0.5.0
[113] Biostrings_2.68.1 lazyeval_0.2.2
[115] GOSemSim_2.26.1 Matrix_1.6-4
[117] hms_1.1.3 patchwork_1.1.3
[119] bit64_4.0.5 KEGGREST_1.40.1
[121] highr_0.10 SummarizedExperiment_1.30.2
[123] igraph_1.6.0 memoise_2.0.1
[125] bslib_0.6.1 ggtree_3.8.2
[127] fastmatch_1.1-4 bit_4.0.5
[129] downloader_0.4 ape_5.7-1
[131] gson_0.1.0