Interactive Views | Subset Filters | SARvision

Working with Subsets

by Mark Hansen, Ph.D.

Create interactive controls to filter sequence alignment tables.

Create interactive controls to filter sequence alignment tables.

Interactive controls can be created by coupling two views together such that one view can dictate which data and how it is displayed in a second view. Not all, but most of the views can function either as the control view, or the modified view. It often is useful to modify the sequence alignment table to either show a subset of rows or to highlight a group of rows. Views such as the Scatter plot, Invariant map, mutation cliff, and the dendrogram can be used to control what is seen in the sequence table. In the example below, a Scatter plot is used to filter rows in the Sequence table such that only rows that are selected in the scatter plot are displayed in the sequence table. The Scatter plot graphs two activity axes, the SST1 and the SST5 receptor activity, against each other. The data segments nicely into 4 quadrants: active against both receptors, inactive against both receptors, and then active against only one receptor to form the last two quadrants. As shown, this is a nice way to group and view sequences with specific activity patterns.

The Scatter plot can separate data on two activity axes. Selection of one set of points is used to filter the sequence table to only those sequences selected.

The Scatter plot can separate data on two activity axes. Selection of one set of points is used to filter the sequence table to only those sequences selected.

To create this interactive view, a subset must be created in the subset panel (lower left) by clicking on the [+] button. In the bottom of the subset panel is a list of all currently existing views: check on the scatter-plot (and only the scatter plot) to make the new subset start collecting the user selection in the scatter plot. In the sequence table, in the upper right corner set the Filter by drop-down to the correct subset and the sequence table will start showing only the sequence rows that are selected in the graph. The user can interactively change the selection at will using the mouse to trigger the sequence table to update and refilter to only the rows of interest. Note that one could use the Mark by drop-down to highlight (color code) sequences instead of filtering.

In the figure below, an interactive control is created using an invariant map and the sequence table. In this case, filtering is performed not by activity as above, but instead by monomer and position to filter by sequence motifs. In the example, the 7, 8, 9 and 10 positions have been selected in the invariant map to create a sequence motif to filter on: 7(Pal or Y), 8dW, 9K and 10(A, V or I). A user can interactively query sequence motifs to identify activity patterns of interest.

The invariant map is used to interactively build sequence motifs to filter the sequence table.

The invariant map is used to interactively build sequence motifs to filter the sequence table.

Previous
Previous

Using Mutation Sets to identify Key Residues

Next
Next

Analyzing Sequences from CDDVault