b39ee946f9039c28b81acb4296e8a7b06bd06c94
tdreszer
Thu Jul 28 17:11:32 2011 -0700
Rearranged order of encode peak filters in hgTrackUi as per Katrina and redmine 4720.
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 134c590..9038544 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -5223,33 +5223,33 @@
else
extraWhere = dyAddFilterAsDouble(cart,tdb,extraWhere,filter->name,NULL,field,and);
}
slNameFree(&filter);
}
}
return extraWhere;
}
#endif///def ALL_SCORE_FILTERS_LOGIC
void encodePeakCfgUi(struct cart *cart, struct trackDb *tdb, char *name, char *title, boolean boxed)
/* Put up UI for filtering wgEnocde peaks based on score, Pval and Qval */
{
boolean compositeLevel = isNameAtCompositeLevel(tdb,name);
boolean opened = FALSE;
-showScoreFilter(cart,tdb,&opened,boxed,compositeLevel,name,title,"Minimum Q-Value (-log10
)",QVALUE_FILTER,TRUE);
-showScoreFilter(cart,tdb,&opened,boxed,compositeLevel,name,title,"Minimum P-Value (-log10
)",PVALUE_FILTER,TRUE);
showScoreFilter(cart,tdb,&opened,boxed,compositeLevel,name,title,"Minimum Signal value", SIGNAL_FILTER,TRUE);
+showScoreFilter(cart,tdb,&opened,boxed,compositeLevel,name,title,"Minimum P-Value (-log10
)",PVALUE_FILTER,TRUE);
+showScoreFilter(cart,tdb,&opened,boxed,compositeLevel,name,title,"Minimum Q-Value (-log10
)",QVALUE_FILTER,TRUE);
char *setting = trackDbSettingClosestToHomeOrDefault(tdb, SCORE_FILTER,NULL);//"0:1000");
if(setting)
{
if(!opened)
{
boxed = cfgBeginBoxAndTitle(tdb, boxed, title);
puts("