typhoidgenomics / TyphiNET

TyphiNET online Salmonella Typhi AMR surveillance dashboard.
https://www.typhi.net
GNU General Public License v3.0
7 stars 3 forks source link

Add a information note #31

Closed lcerdeira closed 1 year ago

lcerdeira commented 1 year ago

Just trying to explore a bit and encountered an issue - when I selected South Africa (after choosing a few others), the resistance timeline (plot 2) was blank. I think this is because there are too few points per year to calculate resistance frequencies to plot (N<10 in each case, according to plot 4). This is the correct behavior but it is hard to know that as a user - I think we need to communicate why the plot is empty. Could we (a) annotate at the top or somewhere, that resistance frequencies are only shown for years with N≥10 genomes; and if there are no data points to plot print a message in the plotting space to explain? Like “Insufficient data per year to calculate annual frequencies”

lcerdeira commented 1 year ago

Hi @zadyson, many thanks. Now I managed to add @vLSHTM. @katholt, thanks for adding this note. Please, let us know if we need to add this notification in another plot. Thanks.

lcerdeira commented 1 year ago

@katholt I added the information note inside the Icon tooltip