# Docker/Singularity Containers

# DockerHub

epicompare is now available via DockerHub as a containerised environment with Rstudio and all necessary dependencies pre-installed.

## Installation

## Method 1: via Docker

First, install Docker if you have not already.

Create an image of the Docker container in command line:

    docker pull neurogenomicslab/epicompare

Once the image has been created, you can launch it with:

    docker run \
      -d \
      -e ROOT=true \
      -e PASSWORD="<your_password>" \
      -v ~/Desktop:/Desktop \
      -v /Volumes:/Volumes \
      -p 8787:8787 \
      neurogenomicslab/epicompare

### NOTES

- Make sure to replace `<your_password>` above with whatever you want your password to be.
- Change the paths supplied to the `-v` flags for your particular use case.
- The `-d` ensures the container will run in “detached” mode, which means it will persist even after you’ve closed your command line session.
- The username will be “rstudio” by default.
- Optionally, you can also install the Docker Desktop to easily manage your containers.

## Method 2: via Singularity

If you are using a system that does not allow Docker (as is the case for many institutional computing clusters), you can instead install Docker images via Singularity.

    singularity pull docker://neurogenomicslab/epicompare

## Usage

Finally, launch the containerised Rstudio by entering the following URL in any web browser: http://localhost:8787/

Login using the credentials set during the Installation steps.

# Session Info

    utils::sessionInfo()

    ## R version 4.5.2 (2025-10-31)
    ## Platform: x86_64-pc-linux-gnu
    ## Running under: Ubuntu 24.04.3 LTS
    ##
    ## Matrix products: default
    ## BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
    ## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so;  LAPACK version 3.12.0
    ##
    ## locale:
    ##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
    ##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C
    ##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
    ##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
    ##  [9] LC_ADDRESS=C               LC_TELEPHONE=C
    ## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
    ##
    ## time zone: Etc/UTC
    ## tzcode source: system (glibc)
    ##
    ## attached base packages:
    ## [1] stats     graphics  grDevices utils     datasets  methods   base
    ##
    ## other attached packages:
    ## [1] EpiCompare_1.15.2 BiocStyle_2.39.0
    ##
    ## loaded via a namespace (and not attached):
    ##   [1] BiocIO_1.21.0
    ##   [2] bitops_1.0-9
    ##   [3] ggplotify_0.1.3
    ##   [4] filelock_1.0.3
    ##   [5] tibble_3.3.1
    ##   [6] polyclip_1.10-7
    ##   [7] enrichit_0.1.0
    ##   [8] XML_3.99-0.20
    ##   [9] lifecycle_1.0.5
    ##  [10] httr2_1.2.2
    ##  [11] lattice_0.22-7
    ##  [12] MASS_7.3-65
    ##  [13] magrittr_2.0.4
    ##  [14] plotly_4.12.0
    ##  [15] sass_0.4.10
    ##  [16] rmarkdown_2.30
    ##  [17] jquerylib_0.1.4
    ##  [18] yaml_2.3.12
    ##  [19] plotrix_3.8-13
    ##  [20] otel_0.2.0
    ##  [21] ggtangle_0.1.1
    ##  [22] DBI_1.2.3
    ##  [23] buildtools_1.0.0
    ##  [24] RColorBrewer_1.1-3
    ##  [25] lubridate_1.9.4
    ##  [26] abind_1.4-8
    ##  [27] GenomicRanges_1.63.1
    ##  [28] purrr_1.2.1
    ##  [29] BiocGenerics_0.57.0
    ##  [30] RCurl_1.98-1.17
    ##  [31] yulab.utils_0.2.3
    ##  [32] tweenr_2.0.3
    ##  [33] rappdirs_0.3.4
    ##  [34] gdtools_0.4.4
    ##  [35] IRanges_2.45.0
    ##  [36] S4Vectors_0.49.0
    ##  [37] enrichplot_1.31.4
    ##  [38] ggrepel_0.9.6
    ##  [39] tidytree_0.4.7
    ##  [40] maketools_1.3.2
    ##  [41] ChIPseeker_1.47.1
    ##  [42] codetools_0.2-20
    ##  [43] DelayedArray_0.37.0
    ##  [44] DOSE_4.5.1
    ##  [45] ggforce_0.5.0
    ##  [46] tidyselect_1.2.1
    ##  [47] aplot_0.2.9
    ##  [48] UCSC.utils_1.7.1
    ##  [49] farver_2.1.2
    ##  [50] base64enc_0.1-3
    ##  [51] matrixStats_1.5.0
    ##  [52] stats4_4.5.2
    ##  [53] BiocFileCache_3.1.0
    ##  [54] Seqinfo_1.1.0
    ##  [55] GenomicAlignments_1.47.0
    ##  [56] jsonlite_2.0.0
    ##  [57] systemfonts_1.3.1
    ##  [58] tools_4.5.2
    ##  [59] ggnewscale_0.5.2
    ##  [60] treeio_1.35.0
    ##  [61] TxDb.Hsapiens.UCSC.hg19.knownGene_3.22.1
    ##  [62] Rcpp_1.1.1
    ##  [63] glue_1.8.0
    ##  [64] SparseArray_1.11.10
    ##  [65] xfun_0.56
    ##  [66] MatrixGenerics_1.23.0
    ##  [67] GenomeInfoDb_1.47.2
    ##  [68] dplyr_1.1.4
    ##  [69] withr_3.0.2
    ##  [70] BiocManager_1.30.27
    ##  [71] fastmap_1.2.0
    ##  [72] boot_1.3-32
    ##  [73] caTools_1.18.3
    ##  [74] digest_0.6.39
    ##  [75] mime_0.13
    ##  [76] timechange_0.4.0
    ##  [77] R6_2.6.1
    ##  [78] gridGraphics_0.5-1
    ##  [79] seqPattern_1.43.0
    ##  [80] GO.db_3.22.0
    ##  [81] gtools_3.9.5
    ##  [82] RSQLite_2.4.5
    ##  [83] cigarillo_1.1.0
    ##  [84] tidyr_1.3.2
    ##  [85] generics_0.1.4
    ##  [86] fontLiberation_0.1.0
    ##  [87] data.table_1.18.2.1
    ##  [88] rtracklayer_1.71.3
    ##  [89] bsplus_0.1.5
    ##  [90] httr_1.4.7
    ##  [91] htmlwidgets_1.6.4
    ##  [92] S4Arrays_1.11.1
    ##  [93] scatterpie_0.2.6
    ##  [94] downloadthis_0.5.0
    ##  [95] pkgconfig_2.0.3
    ##  [96] gtable_0.3.6
    ##  [97] blob_1.3.0
    ##  [98] S7_0.2.1
    ##  [99] impute_1.85.0
    ## [100] XVector_0.51.0
    ## [101] sys_3.4.3
    ## [102] htmltools_0.5.9
    ## [103] fontBitstreamVera_0.1.1
    ## [104] scales_1.4.0
    ## [105] Biobase_2.71.0
    ## [106] png_0.1-8
    ## [107] ggfun_0.2.0
    ## [108] knitr_1.51
    ## [109] tzdb_0.5.0
    ## [110] reshape2_1.4.5
    ## [111] rjson_0.2.23
    ## [112] nlme_3.1-168
    ## [113] curl_7.0.0
    ## [114] cachem_1.1.0
    ## [115] stringr_1.6.0
    ## [116] BiocVersion_3.23.1
    ## [117] KernSmooth_2.23-26
    ## [118] parallel_4.5.2
    ## [119] AnnotationDbi_1.73.0
    ## [120] restfulr_0.0.16
    ## [121] pillar_1.11.1
    ## [122] grid_4.5.2
    ## [123] vctrs_0.7.1
    ## [124] gplots_3.3.0
    ## [125] tidydr_0.0.6
    ## [126] dbplyr_2.5.1
    ## [127] cluster_2.1.8.1
    ## [128] evaluate_1.0.5
    ## [129] readr_2.1.6
    ## [130] GenomicFeatures_1.63.1
    ## [131] cli_3.6.5
    ## [132] compiler_4.5.2
    ## [133] Rsamtools_2.27.0
    ## [134] rlang_1.1.7
    ## [135] crayon_1.5.3
    ## [136] labeling_0.4.3
    ## [137] plyr_1.8.9
    ## [138] fs_1.6.6
    ## [139] ggiraph_0.9.3
    ## [140] stringi_1.8.7
    ## [141] genomation_1.43.0
    ## [142] viridisLite_0.4.2
    ## [143] gridBase_0.4-7
    ## [144] BiocParallel_1.45.0
    ## [145] Biostrings_2.79.4
    ## [146] lazyeval_0.2.2
    ## [147] GOSemSim_2.37.2
    ## [148] fontquiver_0.2.1
    ## [149] Matrix_1.7-4
    ## [150] BSgenome_1.79.1
    ## [151] hms_1.1.4
    ## [152] patchwork_1.3.2
    ## [153] bit64_4.6.0-1
    ## [154] ggplot2_4.0.1
    ## [155] KEGGREST_1.51.1
    ## [156] SummarizedExperiment_1.41.0
    ## [157] AnnotationHub_4.1.0
    ## [158] igraph_2.2.1
    ## [159] memoise_2.0.1
    ## [160] bslib_0.10.0
    ## [161] ggtree_4.1.1
    ## [162] bit_4.6.0
    ## [163] ape_5.8-1