nextstrain / auspice

Web app for visualizing pathogen evolution
https://docs.nextstrain.org/projects/auspice/
GNU Affero General Public License v3.0
292 stars 162 forks source link

Filter Data without losing the whole legend? #1400

Open ShawnSimp opened 3 years ago

ShawnSimp commented 3 years ago

Is there a way to colour specific strains so they stand out from the webtool, without losing the whole legend(e.g clade). I have attempted by added a TSV metadata file with the specific strains however when i filter them i lose the whole legend. I want to highlight these strains in comparison to global strains in my dataset.

thank you for any possible assistance.

jameshadfield commented 3 years ago

Filtering will hide non-matching strains (the tree structure is still visible, but the branches are much thinner). If you set a colouring such as "my_strains" with values "yes" / "no", then you can colour the tree in such a way as to highlight your specific strains, without hiding any parts of the tree. (This can be done via a TSV drag/drop, or via modifying the build pipeline.)

jameshadfield commented 3 years ago

P.S. If you hover over the legend item the matching tips will expand in size. This isn't ideal for screenshots, but can be useful when exploring the data.