LocusZoom.js

Credible Sets Demonstration

< return home

With the help of a standalone JavaScript library, LocusZoom can identify and plot the members of a credible set based on the displayed plot region. This example shows how to integrate that library into a custom datasource, and how to take advantage of several visualization options for displaying the credible set members. See the library source code and documentation for information about the method.

To begin, move your mouse over the plot below and select "Display Options". This demonstration allows credible sets to be displayed as a primary coloring overlay, a separate annotation track, or both. Note that credible sets are calculated client-side by the web browser, which means that this feature can be used without requiring backend changes to an existing API server.

Interactive Plot

Top Hits