1 Introduction

iSEEhub is an extension to the iSEE Bioconductor package that provides a link between iSEE and the Bioconductor ExperimentHub.

Specifically, iSEEhub adds a custom landing page to iSEE web applications that can be used to browse the Bioconductor ExperimentHub interactively, and loads a selected data set in the standard iSEE user interface.

2 Basics

2.1 Install iSEEhub

R is an open-source statistical environment which can be easily modified to enhance its functionality via packages. iSEEhub is a R package available via the Bioconductor repository for packages. R can be installed on any operating system from CRAN after which you can install iSEEhub by using the following commands in your R session:

if (!requireNamespace("BiocManager", quietly = TRUE)) {
      install.packages("BiocManager")
  }

BiocManager::install("iSEEhub")

## Check that you have a valid Bioconductor installation
BiocManager::valid()

2.2 Required knowledge

iSEEhub is based on many other packages that have implemented the infrastructure needed for dealing with omics data and interactive visualisation. That is, packages like SummarizedExperiment, SingleCellExperiment, iSEE and shiny.

If you are asking yourself the question “Where do I start using Bioconductor?” you might be interested in this blog post.

2.3 Asking for help

As package developers, we try to explain clearly how to use our packages and in which order to use the functions. But R and Bioconductor have a steep learning curve so it is critical to learn where to ask for help. The blog post quoted above mentions some but we would like to highlight the Bioconductor support site as the main resource for getting help: remember to use the iSEEhub tag and check the older posts. Other alternatives are available such as creating GitHub issues and tweeting. However, please note that if you want to receive help you should adhere to the posting guidelines. It is particularly critical that you provide a small reproducible example and your session information so package developers can track down the source of the error.

2.4 Citing iSEEhub

We hope that iSEEhub will be useful for your research. Please use the following information to cite the package and the overall approach. Thank you!

## Citation info
citation("iSEEhub")
#> To cite package 'iSEEhub' in publications use:
#> 
#>   Rue-Albrecht K (2023). _iSEEhub: iSEE for the Bioconductor ExperimentHub_. doi:10.18129/B9.bioc.iSEEhub
#>   <https://doi.org/10.18129/B9.bioc.iSEEhub>, R package version 1.4.0,
#>   <https://bioconductor.org/packages/iSEEhub>.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {iSEEhub: iSEE for the Bioconductor ExperimentHub},
#>     author = {Kevin Rue-Albrecht},
#>     year = {2023},
#>     note = {R package version 1.4.0},
#>     url = {https://bioconductor.org/packages/iSEEhub},
#>     doi = {10.18129/B9.bioc.iSEEhub},
#>   }

Here is an example of you can cite your package inside the vignette:

3 Quick start to using to iSEEhub

The main functionality of the package is available through the function iSEEhub().

The function returns a shiny app that can then be launched using the function shiny::runApp().

library(iSEEhub)
library(ExperimentHub)
ehub <- ExperimentHub()

app <- iSEEhub(ehub)

if (interactive()) {
  shiny::runApp(app, port = 1234)
}

4 The ExperimentHub pane

Datasets available in the Bioconductor ExperimentHub are listed – along with metadata – in the interactive table on the left.

The table may be filtered and sorted using any metadata column, to efficiently browse the datasets available.

By default, only a subset of metadata columns are displayed. The selectize input labelled Show columns: at the top of the pane may be used to add, remove, or reorder columns in the table.

No more than one dataset may be selected at any time.

5 The Selected Dataset pane

5.1 Overview

The pane on the right updates with the currently selected dataset.

This pane contains information and inputs required to load the currently selected dataset in the main iSEE app.

The pane is composed of two tabs described in the following sections.

5.2 The Info tab

The Info tab displays the full metadata associated with the currently selected dataset – the same metadata as in the ExperimentHub table – in formatted text.

As such, users can uses a minimal subset of columns in the table to efficiently browse available datasets, while having a full overview of the currently selected dataset in this tab.

5.3 The Config tab

The Config tab displays a selectize input offering users a choice of initial app configurations that are specific to the currently selected dataset.

For all datasets, an option Default is available. That option does not provide any specific instruction with respect to the initial set of panels, their layout, nor their respective initial settings. Instead, the Default option prompts the app to automatically identify all the built-in iSEE panel classes that are compatible with the loaded dataset, initialising an app that contains one instance of each of those panels.

The number of panels and data points to draw for large datasets makes the Default option a showcase mode for demonstration and for new users, more than one optimised for a short loading time or featuring specific aspects of the dataset.

For some datasets, additional choices of initial settings are available. Configurations are provided as scripts that define the list of panels and their respective initial configuration when the main iSEE app is launched.

To contribute new scripts, please refer to the vignette Contributing to iSEEhub.

For demonstration, a simple example config_1.R is included for the dataset EH1. When selected, the contents of the configuration file are shown in the pane – including any comment from the authors – allowing users to review the script before using it.

When the appropriate configuration is selected, users may click the Launch! button to load the dataset into the main iSEE app.

6 The main iSEE app

Once the dataset is successfully loaded into the R session, the app will switch to the main iSEE view.