c6a44344a510f89ba239d63173141f8b4d119560 kent Fri Jun 25 13:57:08 2010 -0700 Making log transform for wig more apparent in graph, and clarifying it's really ln(x+1) rather than the log(x) you might expect. diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 7684719..c5ffe70 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -1430,6 +1430,11 @@ "LOG" }; +static char *wiggleTransformFuncLabels[] = { + "NONE", + "LOG (ln(1+x))" + }; + enum wiggleTransformFuncEnum wiggleTransformFuncToEnum(char *string) /* Convert from string to enum representation. */ { @@ -1442,8 +1447,8 @@ void wiggleTransformFuncDropDown(char *var, char *curVal) /* Make drop down of options. */ { -cgiMakeDropList(var, wiggleTransformFuncOptions, - ArraySize(wiggleTransformFuncOptions), curVal); +cgiMakeDropListFull(var, wiggleTransformFuncLabels, wiggleTransformFuncOptions, + ArraySize(wiggleTransformFuncOptions), curVal, NULL); } static char *wiggleAlwaysZeroOptions[] = {