You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$histogramQuery = "select Year, count(case when AssayType = 'Amplicon-16S' then 1 end) as Amplicon16SRunCount, count(case when AssayType = 'Amplicon-ITS' then 1 end) as AmpliconITSRunCount, count(case when AssayType = 'WMS' then 1 end) as WMSRunCount from run group by Year order by Year;";
elseif ($type == "Biome")
$histogramQuery = "select Year, Biome, count(Run) as Counts from run inner join disease on run.SubGroup = disease.SubGroup group by Year, Biome;";
elseif ($type == "Disease")
$histogramQuery = "select Year, disease.Grp, count(Run) as Counts from run inner join disease on run.SubGroup = disease.SubGroup group by Year, disease.Grp;";