blab / nextflu

Real-time tracking of influenza evolution
http://nextflu.org
GNU Affero General Public License v3.0
88 stars 19 forks source link

Fix frequency labels #127

Closed trvrb closed 8 years ago

trvrb commented 8 years ago

Labels on frequency plots are off by 1 month.

trvrb commented 8 years ago

The labels appear correct. Frequencies go through:

    2016.0, 
    2016.0833333333333, 
    2016.1666666666667

And the plot shows:

h3n2_mutations_panel

The final three points are Jan 1, Feb 1 and March 1, respectively.

Perhaps it is confusing to have the final timepoint in the future. Two options:

  1. Switch final timepoint to the date that the analysis is run. Seems annoying to implement.
  2. Drop current final timepoint. Report up to Feb 1.
rneher commented 8 years ago

yeah, technically correct but a little confusing. just doing 2014, 2014.5 etc might be less ambiguous