tonydisera / gene.iobio

An iobio app for examining gene variants
22 stars 4 forks source link

Reset sort by relevance #434

Open AlistairNWard opened 8 years ago

AlistairNWard commented 8 years ago

I had done an analyse all and then sorted by relevance. I then changed the gene list and reran. The genes were now ordered alphabetically on the new list. But the drop down still says sorted by relevance. Maybe this should be reset when data is changed? Or these should be action buttons? Click the button, it sorts, but from that point forward, you can always click again to resort?

Connect with #394

AlistairNWard commented 8 years ago

Maybe we should also include a badge somewhere to say that sorting has happened. This would disappear after analysis has happened. Couple of examples:

  1. I reorder before analyze all finishes. After the reordering, more genes get analyzed, so the ordering is no longer up-to-date, and we want the user to be aware of that.
  2. What happens if, after reordering on relevance, we then change the ordering in the rank variants matrix used to prioritize? The gene reordering is no longer valid based on this scheme.
AlistairNWard commented 8 years ago

Also account for global filters. If we set a filter set, e.g. only de novos, need to be able to resort on relevance accounting for filters.