diff --git a/articles/miaDash.html b/articles/miaDash.html index f6c22ca..26be577 100644 --- a/articles/miaDash.html +++ b/articles/miaDash.html @@ -74,9 +74,9 @@

Giulio Turku
giulio.benedetti@utu.fi -

28 October 2024

+

1 November 2024

- Source: vignettes/miaDash.Rmd + Source: vignettes/miaDash.Rmd @@ -86,37 +86,99 @@

28 October 2024

Introduction

+

This notebook provides a practical introduction to the Microbiome +Analysis Dashboard (miaDash), an interactive app to analyse and explore +microbiome data. Feel free to try it online at this address with your +data or one of the ready-to-use example datasets. Here, its usage and +functionality are described in more detail.

Motivation

+

Most of the tools available for microbiome data analysis require some +knowledge of programming. This represents a burden for practitioners +more interested in getting results than learning how to program. To this +end, miaDash aims to make microbiome analysis accessible to anyone who +needs it, with or without any computational skills.

+

As a word of caution, while the app removes the burden of +programming, it is still critical to understand the nature of microbiome +data and how it can be analysed. Such knowledge can be acquired from the +online book Orchestrating +Microbiome Analysis (OMA) and several other independent resources. +The following section presents what is currently possible in the +app.

Interface

+

The interface is divided into five tabs that reflect the steps of a +typical microbiome analysis pipeline. First, the dataset of interest can +be uploaded through the Import tab, where several data types and file +formats are supported. Alternatively, one of the available example +datasets can be used for practice. Second, a set of operations can be +applied to the dataset through the Manipulate tab, which include methods +for subsetting features by prevalence, agglomerating by taxonomic level +and transforming assays. Third, the dataset can be analysed through the +Estimate tab, which provide common techniques to quantify alpha and beta +diversity. Finally, results can be explored through the Visualise tab, +where an interactive explorer can be launched with a customisable set of +panels that illustrate different aspects of the data.

Tutorial

+

The app can be used online or locally, depending on resource +availability and size of the dataset to analyse. In general, the online +version is freely available, so that data of any type can be tested +there. However, running the app locally might be a better option for +larger datasets (> 1000 features). In this case, you may also +consider subsetting and/or agglomerating the data.

Installation

+

If you decided to run the app locally, make sure to have R installed +in your machine and execute the following command:

-remotes::install_github("RiboRings/miaDash")
+# Install from GitHub +remotes::install_github("RiboRings/miaDash")
+

Once the package is successfully installed, you should have access to +the development version of miaDash.

Example

+

This section shows how to get started with miaDash. If you are using +it locally, run the next code chunk to launch the app. Otherwise, you +can skip it.

-library(miaDash)
+# Import miaDash
+library(miaDash)
 
+# Instantiate app
 app <- miaDash()
 
 # Launch miaDash
 if (interactive()) {
   shiny::runApp(app)
 }
-

+

As described in Section 1.2, The dashboard +consists of five different windows with tools to import, manipulate, +analyse and visualise the dataset of choice. After launching the app, it +appears as follows:

+

+

At first, the variety of options might feel intimidating, so you can +click on the question mark on the top right to receive a short tour of +the windows available in the app.

+

Once the dataset was imported and analysed according to your +objective, you can choose which visualisations to use from the Visualise +window and press the button “Launch iSEEtree” to create and customise +the plots. After adjusting the parameters of the different panels, the +app might look something like this:

+

+

As before, you can click on the question mark on the top right to +receive a tour of the panels and their parameters. The best way to get +familiar with the interface is to experiment with the parameters below +each panel.

@@ -151,10 +213,39 @@

Citation

Background Knowledge

+

miaDash originates from the joint effort of the R/Bioconductor +community. It is mainly based on the following software:

+
    +
  • R (R Core Team, 2024), statistical programming language
  • +
  • +mia (Borman, +Ernst, Shetty, and Lahti, 2024), framework for microbiome data +analysis
  • +
  • +iSEEtree +(Benedetti and Lahti, 2024), TreeSummarizedExperiment interactive +explorer
  • +
  • +iSEE +(Rue-Albrecht, Marini, Soneson, and Lun, 2018), SummarizedExperiment +interactive explorer
  • +
  • +TreeSummarizedExperiment +(Huang, Soneson, Ernst, Rue-Albrecht, Yu, Hicks, and Robinson, 2021), S4 +container for hierarchical data
  • +
  • +shiny (Chang, +Cheng, Allaire, Sievert, Schloerke, Xie, Allen, McPherson, Dipert, and +Borges, 2024), web app development in R
  • +

Help

+

You can reach us by one of the communication channels listed here. +We are happy to receive questions, suggestions as well as contributions. +For the last point, check the contributor +guidelines.

@@ -184,71 +275,118 @@

Reproducibility#> [1] miaDash_0.2.0 iSEE_2.17.4 SingleCellExperiment_1.27.2 SummarizedExperiment_1.35.5 #> [5] Biobase_2.65.1 GenomicRanges_1.57.2 GenomeInfoDb_1.41.2 IRanges_2.39.2 #> [9] S4Vectors_0.43.2 BiocGenerics_0.51.3 MatrixGenerics_1.17.1 matrixStats_1.4.1 -#> [13] BiocStyle_2.33.1 +#> [13] RefManageR_1.4.0 BiocStyle_2.33.1 #> #> loaded via a namespace (and not attached): -#> [1] splines_4.4.1 later_1.3.2 ggplotify_0.1.2 -#> [4] tibble_3.2.1 polyclip_1.10-7 rpart_4.1.23 -#> [7] DirichletMultinomial_1.47.2 lifecycle_1.0.4 doParallel_1.0.17 -#> [10] miaViz_1.13.14 lattice_0.22-6 MASS_7.3-61 -#> [13] MultiAssayExperiment_1.31.5 SnowballC_0.7.1 backports_1.5.0 -#> [16] magrittr_2.0.3 Hmisc_5.1-3 sass_0.4.9 -#> [19] rmarkdown_2.28 jquerylib_0.1.4 yaml_2.3.10 -#> [22] httpuv_1.6.15 minqa_1.2.8 DBI_1.2.3 -#> [25] RColorBrewer_1.1-3 abind_1.4-8 zlibbioc_1.51.2 -#> [28] purrr_1.0.2 ggraph_2.2.1 yulab.utils_0.1.7 -#> [31] nnet_7.3-19 tweenr_2.0.3 sandwich_3.1-1 -#> [34] circlize_0.4.16 GenomeInfoDbData_1.2.13 ggrepel_0.9.6 -#> [37] tokenizers_0.3.0 irlba_2.3.5.1 tidytree_0.4.6 -#> [40] vegan_2.6-8 rbiom_1.0.3 permute_0.9-7 -#> [43] pkgdown_2.1.1 DelayedMatrixStats_1.27.3 codetools_0.2-20 -#> [46] DelayedArray_0.31.14 ggforce_0.4.2 DT_0.33 -#> [49] scuttle_1.15.5 tidyselect_1.2.1 shape_1.4.6.1 -#> [52] aplot_0.2.3 farver_2.1.2 UCSC.utils_1.1.0 -#> [55] lme4_1.1-35.5 ScaledMatrix_1.13.0 viridis_0.6.5 -#> [58] shinyWidgets_0.8.7 base64enc_0.1-3 jsonlite_1.8.9 -#> [61] GetoptLong_1.0.5 BiocNeighbors_1.99.3 tidygraph_1.3.1 -#> [64] decontam_1.25.0 mia_1.13.47 Formula_1.2-5 -#> [67] scater_1.33.4 iterators_1.0.14 systemfonts_1.1.0 -#> [70] foreach_1.5.2 ggnewscale_0.5.0 tools_4.4.1 -#> [73] treeio_1.29.1 ragg_1.3.3 Rcpp_1.0.13 -#> [76] glue_1.8.0 gridExtra_2.3 SparseArray_1.5.45 -#> [79] xfun_0.48 mgcv_1.9-1 TreeSummarizedExperiment_2.13.0 -#> [82] dplyr_1.1.4 withr_3.0.1 shinydashboard_0.7.2 -#> [85] BiocManager_1.30.25 fastmap_1.2.0 boot_1.3-31 -#> [88] rhdf5filters_1.17.0 bluster_1.15.1 fansi_1.0.6 -#> [91] shinyjs_2.1.0 digest_0.6.37 rsvd_1.0.5 -#> [94] gridGraphics_0.5-1 R6_2.5.1 mime_0.12 -#> [97] textshaping_0.4.0 colorspace_2.1-1 listviewer_4.0.0 -#> [100] lpSolve_5.6.21 utf8_1.2.4 tidyr_1.3.1 -#> [103] generics_0.1.3 iSEEtree_0.99.8 data.table_1.16.2 -#> [106] DECIPHER_3.1.5 graphlayouts_1.2.0 httr_1.4.7 -#> [109] htmlwidgets_1.6.4 S4Arrays_1.5.11 pkgconfig_2.0.3 -#> [112] gtable_0.3.6 ComplexHeatmap_2.21.1 XVector_0.45.0 -#> [115] janeaustenr_1.0.0 htmltools_0.5.8.1 bookdown_0.41 -#> [118] biomformat_1.33.0 rintrojs_0.3.4 clue_0.3-65 -#> [121] scales_1.3.0 png_0.1-8 ggfun_0.1.7 -#> [124] knitr_1.48 rstudioapi_0.17.1 reshape2_1.4.4 -#> [127] rjson_0.2.23 nloptr_2.1.1 checkmate_2.3.2 -#> [130] nlme_3.1-166 shinyAce_0.4.3 zoo_1.8-12 -#> [133] cachem_1.1.0 rhdf5_2.49.0 GlobalOptions_0.1.2 -#> [136] stringr_1.5.1 parallel_4.4.1 miniUI_0.1.1.1 -#> [139] vipor_0.4.7 foreign_0.8-87 desc_1.4.3 -#> [142] pillar_1.9.0 grid_4.4.1 vctrs_0.6.5 -#> [145] slam_0.1-54 promises_1.3.0 BiocSingular_1.21.4 -#> [148] beachmat_2.21.9 xtable_1.8-4 cluster_2.1.6 -#> [151] beeswarm_0.4.0 htmlTable_2.4.3 evaluate_1.0.1 -#> [154] mvtnorm_1.3-1 cli_3.6.3 compiler_4.4.1 -#> [157] rlang_1.1.4 crayon_1.5.3 tidytext_0.4.2 -#> [160] mediation_4.5.0 plyr_1.8.9 fs_1.6.4 -#> [163] ggbeeswarm_0.7.2 stringi_1.8.4 viridisLite_0.4.2 -#> [166] BiocParallel_1.39.0 munsell_0.5.1 Biostrings_2.73.2 -#> [169] lazyeval_0.2.2 colourpicker_1.3.0 Matrix_1.7-1 -#> [172] patchwork_1.3.0 sparseMatrixStats_1.17.2 ggplot2_3.5.1 -#> [175] Rhdf5lib_1.27.0 shiny_1.9.1 highr_0.11 -#> [178] fontawesome_0.5.2 memoise_2.0.1 igraph_2.1.1 -#> [181] RcppParallel_5.1.9 bslib_0.8.0 ggtree_3.13.2 -#> [184] ape_5.8 +#> [1] fs_1.6.4 DirichletMultinomial_1.47.2 fontawesome_0.5.2 +#> [4] lubridate_1.9.3 httr_1.4.7 RColorBrewer_1.1-3 +#> [7] doParallel_1.0.17 tools_4.4.1 backports_1.5.0 +#> [10] utf8_1.2.4 R6_2.5.1 DT_0.33 +#> [13] vegan_2.6-8 lazyeval_0.2.2 mgcv_1.9-1 +#> [16] rhdf5filters_1.17.0 GetoptLong_1.0.5 permute_0.9-7 +#> [19] withr_3.0.1 gridExtra_2.3 cli_3.6.3 +#> [22] textshaping_0.4.0 shinyjs_2.1.0 sandwich_3.1-1 +#> [25] slam_0.1-54 sass_0.4.9 mvtnorm_1.3-1 +#> [28] pkgdown_2.1.1 systemfonts_1.1.0 yulab.utils_0.1.7 +#> [31] foreign_0.8-87 scater_1.33.4 decontam_1.25.0 +#> [34] rstudioapi_0.17.1 generics_0.1.3 gridGraphics_0.5-1 +#> [37] shape_1.4.6.1 dplyr_1.1.4 rbiom_1.0.3 +#> [40] Matrix_1.7-1 biomformat_1.33.0 ggbeeswarm_0.7.2 +#> [43] fansi_1.0.6 DECIPHER_3.1.5 abind_1.4-8 +#> [46] lifecycle_1.0.4 yaml_2.3.10 rhdf5_2.49.0 +#> [49] SparseArray_1.5.45 grid_4.4.1 promises_1.3.0 +#> [52] crayon_1.5.3 shinydashboard_0.7.2 miniUI_0.1.1.1 +#> [55] lattice_0.22-6 beachmat_2.21.9 pillar_1.9.0 +#> [58] knitr_1.48 ComplexHeatmap_2.21.1 rjson_0.2.23 +#> [61] boot_1.3-31 lpSolve_5.6.21 codetools_0.2-20 +#> [64] glue_1.8.0 ggfun_0.1.7 data.table_1.16.2 +#> [67] MultiAssayExperiment_1.31.5 vctrs_0.6.5 png_0.1-8 +#> [70] treeio_1.29.1 gtable_0.3.6 cachem_1.1.0 +#> [73] xfun_0.48 S4Arrays_1.5.11 mime_0.12 +#> [76] tidygraph_1.3.1 iterators_1.0.14 bluster_1.15.1 +#> [79] nlme_3.1-166 ggtree_3.13.2 SnowballC_0.7.1 +#> [82] bslib_0.8.0 irlba_2.3.5.1 vipor_0.4.7 +#> [85] rpart_4.1.23 colorspace_2.1-1 DBI_1.2.3 +#> [88] Hmisc_5.1-3 nnet_7.3-19 tidyselect_1.2.1 +#> [91] compiler_4.4.1 htmlTable_2.4.3 BiocNeighbors_1.99.3 +#> [94] xml2_1.3.6 desc_1.4.3 DelayedArray_0.31.14 +#> [97] colourpicker_1.3.0 bookdown_0.41 checkmate_2.3.2 +#> [100] scales_1.3.0 stringr_1.5.1 digest_0.6.37 +#> [103] minqa_1.2.8 rmarkdown_2.28 miaViz_1.13.14 +#> [106] XVector_0.45.0 htmltools_0.5.8.1 pkgconfig_2.0.3 +#> [109] iSEEtree_0.99.8 base64enc_0.1-3 bibtex_0.5.1 +#> [112] lme4_1.1-35.5 sparseMatrixStats_1.17.2 highr_0.11 +#> [115] listviewer_4.0.0 fastmap_1.2.0 rlang_1.1.4 +#> [118] GlobalOptions_0.1.2 htmlwidgets_1.6.4 UCSC.utils_1.1.0 +#> [121] shiny_1.9.1 DelayedMatrixStats_1.27.3 farver_2.1.2 +#> [124] jquerylib_0.1.4 zoo_1.8-12 jsonlite_1.8.9 +#> [127] BiocParallel_1.39.0 tokenizers_0.3.0 BiocSingular_1.21.4 +#> [130] magrittr_2.0.3 Formula_1.2-5 scuttle_1.15.5 +#> [133] GenomeInfoDbData_1.2.13 ggplotify_0.1.2 patchwork_1.3.0 +#> [136] Rhdf5lib_1.27.0 munsell_0.5.1 Rcpp_1.0.13 +#> [139] ape_5.8 ggnewscale_0.5.0 viridis_0.6.5 +#> [142] stringi_1.8.4 rintrojs_0.3.4 ggraph_2.2.1 +#> [145] zlibbioc_1.51.2 MASS_7.3-61 plyr_1.8.9 +#> [148] mediation_4.5.0 parallel_4.4.1 ggrepel_0.9.6 +#> [151] Biostrings_2.73.2 graphlayouts_1.2.0 splines_4.4.1 +#> [154] circlize_0.4.16 igraph_2.1.1 reshape2_1.4.4 +#> [157] ScaledMatrix_1.13.0 evaluate_1.0.1 tidytext_0.4.2 +#> [160] RcppParallel_5.1.9 BiocManager_1.30.25 nloptr_2.1.1 +#> [163] foreach_1.5.2 tweenr_2.0.3 httpuv_1.6.15 +#> [166] tidyr_1.3.1 purrr_1.0.2 polyclip_1.10-7 +#> [169] clue_0.3-65 ggplot2_3.5.1 ggforce_0.4.2 +#> [172] rsvd_1.0.5 xtable_1.8-4 tidytree_0.4.6 +#> [175] janeaustenr_1.0.0 later_1.3.2 viridisLite_0.4.2 +#> [178] ragg_1.3.3 tibble_3.2.1 aplot_0.2.3 +#> [181] memoise_2.0.1 beeswarm_0.4.0 cluster_2.1.6 +#> [184] TreeSummarizedExperiment_2.13.0 timechange_0.3.0 shinyWidgets_0.8.7 +#> [187] shinyAce_0.4.3 mia_1.13.47 +

+
+

References +

+

+[1] +G. Benedetti and L. Lahti. iSEEtree: Interactive visualisation for +microbiome data. R package version 0.99.8, commit +b034d1fc66308a0e51286ad0ab0a8ab65bee6fb5. 2024. URL: +https://github.com/microbiome/iSEEtree. +

+

+[2] +T. Borman, F. Ernst, S. Shetty, et al. mia: Microbiome +analysis. R package version 1.13.47. 2024. DOI: +10.18129/B9.bioc.mia. +URL: +https://bioconductor.org/packages/mia. +

+

+[3] +W. Chang, J. Cheng, J. Allaire, et al. shiny: Web Application +Framework for R. R package version 1.9.1, https://github.com/rstudio/shiny. 2024. URL: +https://shiny.posit.co/. +

+

+[4] +R. Huang, C. Soneson, F. G. Ernst, et al. “TreeSummarizedExperiment: a +S4 class for data with hierarchical structure”. In: +F1000Research 9 (2021), p. 1246. URL: +https://f1000research.com/articles/9-1246. +

+

+[5] +R Core Team. R: A Language and Environment for Statistical +Computing. R Foundation for Statistical Computing. Vienna, Austria, +2024. URL: +https://www.R-project.org/. +

+

+[6] +K. Rue-Albrecht, F. Marini, C. Soneson, et al. “iSEE: Interactive +SummarizedExperiment Explorer”. In: F1000Research 7 +(Jun. 2018), p. 741. DOI: +10.12688/f1000research.14966.1. +

diff --git a/articles/screenshots/dashboard.png b/articles/screenshots/dashboard.png new file mode 100644 index 0000000..b71a97a Binary files /dev/null and b/articles/screenshots/dashboard.png differ diff --git a/articles/screenshots/iSEEtree.png b/articles/screenshots/iSEEtree.png new file mode 100644 index 0000000..57f9cef Binary files /dev/null and b/articles/screenshots/iSEEtree.png differ diff --git a/authors.html b/authors.html index 068e7d7..dee6f27 100644 --- a/authors.html +++ b/authors.html @@ -64,7 +64,7 @@

Authors and Citation

Citation

- Source: DESCRIPTION + Source: DESCRIPTION
diff --git a/index.html b/index.html index 6dfb14c..32948ab 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@

Usage

-

miaDash is available online at this address. While suitable for small and medium datasets, the online version may slow down when larger datasets are analysed (< 1000 features). In this case, the app can be installed and run locally. Either way, the app also provides functionality to subset and agglomerate the data.

+

miaDash is available online at this address. While suitable for small and medium datasets, the online version may slow down when larger datasets are analysed (> 1000 features). In this case, the app can be installed and run locally. Either way, functionality to subset and agglomerate the data is also provided in the app.

Installation instructions diff --git a/pkgdown.yml b/pkgdown.yml index 0a8716e..d0fb05b 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,4 +3,4 @@ pkgdown: 2.1.1 pkgdown_sha: ~ articles: miaDash: miaDash.html -last_built: 2024-10-28T20:26Z +last_built: 2024-11-01T18:10Z diff --git a/reference/create_observers.html b/reference/create_observers.html index c4fb0a8..3bd6c59 100644 --- a/reference/create_observers.html +++ b/reference/create_observers.html @@ -46,7 +46,7 @@
diff --git a/reference/landing_page.html b/reference/landing_page.html index ff06db3..e7c4156 100644 --- a/reference/landing_page.html +++ b/reference/landing_page.html @@ -45,7 +45,7 @@
diff --git a/reference/miaDash.html b/reference/miaDash.html index 7b8733a..b9af365 100644 --- a/reference/miaDash.html +++ b/reference/miaDash.html @@ -46,7 +46,7 @@
diff --git a/reference/render_output.html b/reference/render_output.html index 1c27c45..0e78d59 100644 --- a/reference/render_output.html +++ b/reference/render_output.html @@ -46,7 +46,7 @@
diff --git a/reference/utils.html b/reference/utils.html new file mode 100644 index 0000000..0d8a845 --- /dev/null +++ b/reference/utils.html @@ -0,0 +1,101 @@ + +Utilities — utils • miaDash + + +
+
+ + + +
+
+ + +
+

Helper functions and constants to support the app functionality.

+
+ +
+
.import_datasets(selection)
+
+.print_message(...)
+
+.check_formula(form, se)
+
+.check_panel(se, panel_list, panel_class, panel_fun, wtext)
+
+default_panels
+
+other_panels
+
+.actionbutton_biocstyle
+
+ +
+

Format

+

An object of class character of length 7.

+

An object of class character of length 5.

+

An object of class character of length 1.

+
+ +
+ +
+ + +
+ +
+

Site built with pkgdown 2.1.1.

+
+ +
+ + + + + + + + diff --git a/sitemap.xml b/sitemap.xml index 875da9a..15194b9 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -9,5 +9,6 @@ /reference/landing_page.html /reference/miaDash.html /reference/render_output.html +/reference/utils.html