statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
156 stars 29 forks source link

Provide methods for clearing selections #62

Closed Frencil closed 8 years ago

Frencil commented 8 years ago

As seen in the conditional analysis proof of concept in the Broad portal implementation of LocusZoom, there may be situations where an implementer may want to programmatically clear selections. Presently this is possible but only through direct manipulation of the state, and important deselection logic therefore doesn't necessarily get triggered.

The LocusZoom core library should extend methods to clear all selected elements on a per-plot, per-panel, and per-data-layer basis.

Frencil commented 8 years ago

This is addressed in PR #67