3b0398668f40703ec7342f657267c312a011a2bb braney Wed Oct 19 13:09:55 2022 -0700 add sum mode to the possible windowing methods for wiggles. diff --git src/hg/hgTracks/wigCommon.h src/hg/hgTracks/wigCommon.h index 7a0a8ba..006f0d1 100644 --- src/hg/hgTracks/wigCommon.h +++ src/hg/hgTracks/wigCommon.h @@ -4,31 +4,31 @@ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #ifndef WIGCOMMON_H #define WIGCOMMON_H /* wigCartOptions structure - to carry cart options from wigMethods * to all the other methods via the track->extraUiData pointer */ struct wigCartOptions { enum wiggleGridOptEnum horizontalGrid; /* grid lines, ON/OFF */ enum wiggleGraphOptEnum lineBar; /* Line or Bar chart */ enum wiggleScaleOptEnum autoScale; /* autoScale on */ - enum wiggleWindowingEnum windowingFunction; /* max,mean,min */ + enum wiggleWindowingEnum windowingFunction; /* max,mean,min,sum */ enum wiggleSmoothingEnum smoothingWindow; /* N: [1:15] */ enum wiggleYLineMarkEnum yLineOnOff; /* OFF/ON */ enum wiggleAlwaysZeroEnum alwaysZero; /* OFF/ON */ enum wiggleTransformFuncEnum transformFunc; /* NONE/LOG */ double minY; /* from trackDb.ra words, the absolute minimum */ double maxY; /* from trackDb.ra words, the absolute maximum */ int maxHeight; /* maximum pixels height from trackDb */ int defaultHeight; /* requested height from cart */ int minHeight; /* minimum pixels height from trackDb */ double yLineMark; /* user requested line at y = */ char *colorTrack; /* Track to use for coloring wiggle track. */ int graphColumn; /* column to be graphing (bedGraph tracks) */ boolean bedGraph; /* is this a bedGraph track ? */ boolean isMultiWig; /* If true it's a multi-wig. */ enum wiggleAggregateFunctionEnum aggregateFunction; /* NONE/TRANSPARENT/STACKED */