# 5 - Integrative analysis workshop with TCGAbiolinks and ELMER - Analysis GUI

# Introduction

In this section, we will perform the same analysis performed using ELMER, but instead of doing it programmatically we will use TCGAbiolinksGUI (Silva et al. 2017).

First we will launch the TCGAbiolinksGUI.

    library(TCGAbiolinksGUI)
    TCGAbiolinksGUI()

# Downloading data

Please download this two objects:

- Gene expression Summarized Experiment
- DNA methylation Summarized Experiment

# Analysis

## Create MultiAssayExperiment object

To create the MultiAssayExperiment object go to `Integrative analysis/ELMER/Create input data`.

Select the DNA methylation object previously downloaded.

Select the gene expression object previously downloaded.

Fill the field `Save as:` and click on Create MAE object.

The object will be created.

## Perform analysis

To perform ELMER analysis go to `Integrative analysis/ELMER/Analysis`.

Select the MAE data created in the previous section.

Select the groups that will be analysed: Primary solid Tumor and Solid Tissue Normal.

We will identify probes that are hypomethylated in Primary solid Tumor compared to Solid Tissue Normal.

For the significant differently methylated probes identified before we will correlated with the 20 nearest genes. Change the value of the field `Number of permutations` to `100`, `Raw P-value cut-off` to `0.05` and `Empirical P value cut-off` to `0.01`.

There will be no changes in the step 3.

There will be no changes in the step 4.

Click on `Run the analysis`.

If the analysis identified significant regulatory TF the results will be saved into an R object.

## Visualize results

To visualize the results go to `Integrative analysis/ELMER/Visualize results`.

Click on `Select results` and select the object created on the previous section.

Or the avarage DNA methylation levels of probes of a Motif vs the expression of a TF.

For each enriched motif you can verify the ranking of sigificances between the correlation of DNA methylation level on the significant paired probes with that motif vs the TF expression (for all human TF).

The enrichement of each motif can be visualized.

You can take a look for a gene which was the probe linked.

You can see the plot and its neraby genes.

It is possible to visualize the table with the significant differently methylated probes.

It is possible to visualize the table with the enriched motifs.

It is possible to visualize the table with the candidates regulatory TF.

# Session Info

    sessionInfo()

    ## R version 4.5.0 RC (2025-04-04 r88126 ucrt)
    ## Platform: x86_64-w64-mingw32/x64
    ## Running under: Windows Server 2022 x64 (build 20348)
    ##
    ## Matrix products: default
    ##   LAPACK version 3.12.1
    ##
    ## locale:
    ## [1] LC_COLLATE=C
    ## [2] LC_CTYPE=English_United States.utf8
    ## [3] LC_MONETARY=English_United States.utf8
    ## [4] LC_NUMERIC=C
    ## [5] LC_TIME=English_United States.utf8
    ##
    ## time zone: America/New_York
    ## tzcode source: internal
    ##
    ## attached base packages:
    ## [1] stats4    stats     graphics  grDevices utils     datasets  methods
    ## [8] base
    ##
    ## other attached packages:
    ##  [1] MultiAssayExperiment_1.34.0 SummarizedExperiment_1.38.0
    ##  [3] Biobase_2.68.0              MatrixGenerics_1.20.0
    ##  [5] matrixStats_1.5.0           GenomicRanges_1.60.0
    ##  [7] GenomeInfoDb_1.44.0         IRanges_2.42.0
    ##  [9] S4Vectors_0.46.0            sesameData_1.25.0
    ## [11] ExperimentHub_2.16.0        AnnotationHub_3.16.0
    ## [13] BiocFileCache_2.16.0        dbplyr_2.5.0
    ## [15] BiocGenerics_0.54.0         generics_0.1.3
    ## [17] BiocStyle_2.36.0            dplyr_1.1.4
    ## [19] DT_0.33                     ELMER_2.32.0
    ## [21] ELMER.data_2.31.0
    ##
    ## loaded via a namespace (and not attached):
    ##   [1] later_1.4.2                 BiocIO_1.18.0
    ##   [3] bitops_1.0-9                filelock_1.0.3
    ##   [5] tibble_3.2.1                XML_3.99-0.18
    ##   [7] rpart_4.1.24                lifecycle_1.0.4
    ##   [9] httr2_1.1.2                 rstatix_0.7.2
    ##  [11] doParallel_1.0.17           vroom_1.6.5
    ##  [13] processx_3.8.6              lattice_0.22-7
    ##  [15] ensembldb_2.32.0            crosstalk_1.2.1
    ##  [17] backports_1.5.0             magrittr_2.0.3
    ##  [19] Hmisc_5.2-3                 plotly_4.10.4
    ##  [21] sass_0.4.10                 rmarkdown_2.29
    ##  [23] jquerylib_0.1.4             yaml_2.3.10
    ##  [25] Gviz_1.52.0                 chromote_0.5.0
    ##  [27] DBI_1.2.3                   RColorBrewer_1.1-3
    ##  [29] abind_1.4-8                 rvest_1.0.4
    ##  [31] purrr_1.0.4                 AnnotationFilter_1.32.0
    ##  [33] biovizBase_1.56.0           RCurl_1.98-1.17
    ##  [35] nnet_7.3-20                 VariantAnnotation_1.54.0
    ##  [37] rappdirs_0.3.3              circlize_0.4.16
    ##  [39] GenomeInfoDbData_1.2.14     ggrepel_0.9.6
    ##  [41] codetools_0.2-20            DelayedArray_0.34.0
    ##  [43] xml2_1.3.8                  tidyselect_1.2.1
    ##  [45] shape_1.4.6.1               farver_2.1.2
    ##  [47] UCSC.utils_1.4.0            TCGAbiolinksGUI.data_1.27.0
    ##  [49] base64enc_0.1-3             GenomicAlignments_1.44.0
    ##  [51] jsonlite_2.0.0              GetoptLong_1.0.5
    ##  [53] Formula_1.2-5               iterators_1.0.14
    ##  [55] systemfonts_1.2.2           foreach_1.5.2
    ##  [57] tools_4.5.0                 progress_1.2.3
    ##  [59] ragg_1.4.0                  Rcpp_1.0.14
    ##  [61] glue_1.8.0                  gridExtra_2.3
    ##  [63] SparseArray_1.8.0           BiocBaseUtils_1.10.0
    ##  [65] xfun_0.52                   websocket_1.4.4
    ##  [67] withr_3.0.2                 BiocManager_1.30.25
    ##  [69] fastmap_1.2.0               latticeExtra_0.6-30
    ##  [71] digest_0.6.37               mime_0.13
    ##  [73] R6_2.6.1                    textshaping_1.0.0
    ##  [75] colorspace_2.1-1            jpeg_0.1-11
    ##  [77] dichromat_2.0-0.1           biomaRt_2.64.0
    ##  [79] RSQLite_2.3.9               tidyr_1.3.1
    ##  [81] data.table_1.17.0           rtracklayer_1.68.0
    ##  [83] prettyunits_1.2.0           httr_1.4.7
    ##  [85] htmlwidgets_1.6.4           S4Arrays_1.8.0
    ##  [87] pkgconfig_2.0.3             gtable_0.3.6
    ##  [89] blob_1.2.4                  ComplexHeatmap_2.24.0
    ##  [91] XVector_0.48.0              htmltools_0.5.8.1
    ##  [93] carData_3.0-5               ProtGenerics_1.40.0
    ##  [95] clue_0.3-66                 scales_1.3.0
    ##  [97] png_0.1-8                   knitr_1.50
    ##  [99] rstudioapi_0.17.1           reshape2_1.4.4
    ## [101] tzdb_0.5.0                  rjson_0.2.23
    ## [103] checkmate_2.3.2             curl_6.2.2
    ## [105] cachem_1.1.0                GlobalOptions_0.1.2
    ## [107] stringr_1.5.1               BiocVersion_3.21.1
    ## [109] parallel_4.5.0              foreign_0.8-90
    ## [111] AnnotationDbi_1.70.0        restfulr_0.0.15
    ## [113] reshape_0.8.9               pillar_1.10.2
    ## [115] grid_4.5.0                  vctrs_0.6.5
    ## [117] promises_1.3.2              ggpubr_0.6.0
    ## [119] car_3.1-3                   cluster_2.1.8.1
    ## [121] archive_1.1.12              htmlTable_2.4.3
    ## [123] evaluate_1.0.3              TCGAbiolinks_2.36.0
    ## [125] readr_2.1.5                 GenomicFeatures_1.60.0
    ## [127] cli_3.6.4                   compiler_4.5.0
    ## [129] Rsamtools_2.24.0            rlang_1.1.6
    ## [131] crayon_1.5.3                ggsignif_0.6.4
    ## [133] labeling_0.4.3              interp_1.1-6
    ## [135] ps_1.9.1                    plyr_1.8.9
    ## [137] stringi_1.8.7               viridisLite_0.4.2
    ## [139] deldir_2.0-4                BiocParallel_1.42.0
    ## [141] munsell_0.5.1               Biostrings_2.76.0
    ## [143] lazyeval_0.2.2              Matrix_1.7-3
    ## [145] BSgenome_1.76.0             hms_1.1.3
    ## [147] bit64_4.6.0-1               ggplot2_3.5.2
    ## [149] KEGGREST_1.48.0             fontawesome_0.5.3
    ## [151] broom_1.0.8                 memoise_2.0.1
    ## [153] bslib_0.9.0                 bit_4.6.0
    ## [155] downloader_0.4.1

# Bibliography

Silva, Tiago C., Antonio Colaprico, Catharina Olsen, Gianluca Bontempi, Michele Ceccarelli, Benjamin P. Berman, and Houtan Noushmehr. 2017. “TCGAbiolinksGUI: A Graphical User Interface to Analyze Cancer Molecular and Clinical Data.” bioRxiv. https://doi.org/10.1101/147496.