Closed alancleary closed 4 years ago
This should utilize the "stackItem" functionality added to the Golden Layout directive in commit c5922a067b4f8d22792bcd2571b3d84703a07bdf.
On second thought, plotting against the consensus track isn't particularly useful biologically. Instead, the selected track should be plotted against each of the query tracks in the selected track's cluster.
Local plots and groundwork for global plots implemented in commit 142fce3bfd67ab33c1d5273f915de05773dbce34.
Commit efef875ee7e304876dc2a14d0234386d028fe24a revised the previous implementation so that the plot component only draws one plot, instead of many. This allows plots that the user is not interested in to be removed from view and gives them more control over where one or more plots are located in the view.
Commit f9eac6834dac7f5e42c6686329c245bc6f149a6d updated the micro synteny viewer so that clicking the plot button will show a tooltip that allows the user to select between viewing local and global dot plots. Global dot plots still need to be implemented.
Global dot plots were implemented in commit 576e14432b188df735a51e91c458cafc2d1bc47e. Note: this has revealed a bug having to do with Angular events not being detected for components encapsulated in tips and exacerbated the issues described in #232 and #234. A new issue will be opened for the prior.
Plots haven't been reimplemented in new unified genes view. This will require a reducer for storing global plots and selectors for local/global plots. Also, the "reference" sequence that selected tracks will be plotted against will now be the consensus of the cluster the selected track belongs to. In the case where the cluster is comprised of a single query track the consensus will be equivalent to the single query track. These plots will serve as an analogue to the deprecated search view.