2  The user interface

2.1 Overview

In this chapter, we describe the contents and layout of a standard iSEE app.

Specifically, we focus on the appearance of the interactive point-and-click interface presented to end-users who come to simply explore the data set without any programming knowledge required.

Illustrative screenshots are taken from the iSEE app produced by the example code given in the help page of the iSEE() function, which can be access from an R console by typing either help(iSEE) or ?iSEE.

2.2 Panels

Under entirely default settings, data sets loaded into the iSEE app are automatically parsed for standard information stored in SummarizedExperiment objects. Based on the information available and a set of eight core panel types designed to display different pieces of information, the iSEE() function automatically populates the interface with one panel of each type for which the relevant information is available.

Figure 2.1: First row of panel in the iSEE app interface, for an example data set.

The example code given in the help page of the iSEE() function produces an iSEE app that showcases all eight core panel types. For simplicity, Figure 2.2 displays only the main component of each of those eight core panel types, for an example data set. Additional components accompanying each panel and the purpose of each panel will be discussed in a separate chapter.

(a) Reduced dimension plot

(b) Row data table

(c) Feature assay plot

(d) Column data plot

(e) Row data plot

(f) Sample assay plot

(g) Column data table

(h) Complex heatmap plot

Figure 2.2: Main component the eight core panel type in the iSEE package, in their default configuration.

2.3 Actions

Once the panels are loaded into the interface, users are free to interact with the interface in any way they see fit.

2.3.1 Scrolling

Use the mouse wheel, trackpad, or directional arrows (up and down), to scroll up and down the interface, to bring panels into view.

Horizontal scrolling is not possible in Shiny apps.

Figure 2.3: Scrolling up and down the app interface.

There is no limit to the number of panels that may be added to the iSEE user interface.

Meanwhile, no more than twelve panels may be displayed on a single row – one panel per unit in the 12-unit layout of pages produced by the shiny package – with rows being filled from left to right and panels exceeding the 12-unit layout being placed on new rows.

The 12-unit grid system used by shiny is described in the Shiny Application layout guide.

2.3.2 Collabsible boxes

Click on the header of collapsible boxes located under the panel output, to reveal interactive elements controlling various aspects of the contents displayed in each panel.

Figure 2.4: Expanding collapsible boxes.

2.3.3 Selection inputs

Click on dropdown elements to reveal their choices. Click a different choice to see the panel output change accordingly.

Figure 2.5: Changing the selected choice in dropdown menus.

2.3.4 Checkboxes

Click on checkboxes to toggle any number of mutually-compatible parameters.

Figure 2.6: Toggling checkboxes.

2.4 Collapsible boxes of parameters

2.4.1 Data parameters

The Data parameters collapsible box contains interactive elements that control the nature of the observations displayed in each panel.

For plots, that is typically the choice of variables shown along each axis.

For tables, that is typically the subset of columns hidden in the panel.

Figure 2.7: The Data parameters box of the Reduced dimension plot panel, expanded to reveal its contents.

2.4.2 Visual parameters

The Visual parameters collapsible box contains interactive elements that control the appearance of data points and non-data elements of panels that produce a plot.

That is typically the color, shape, size, and opacity of data points. It may also include the possibility of faceting the plot by discrete variables along each axis, and further customisation of non-data elements of the plot such as axis labels and the plot legend.

Figure 2.8: The Visual parameters box of the Reduced dimension plot panel, expanded and configured to reveal the ‘Color’, ‘Shape’, ‘Size’, and ‘Facet’ sections of its contents.

2.4.3 Selection parameters

The Selection parameters collapsible box contains interactive elements that control the transmission and usage of selections in each panel.

That is typically the name of another panel to receive a selection from and whether to restrict data points in the current panel to those selected in the other panel It may also include the possibility of saving and deleting saved selections made in the current panel.

Figure 2.9: The Selection parameters box of the Reduced dimension plot panel, expanded to reveal its contents.