677b513b231891e30d32024de7ded7766ef72058 braney Wed May 24 14:09:42 2017 -0700 add mathWig track type which is an arithmetic combination of bigWi. diff --git src/hg/hgTracks/wigCommon.h src/hg/hgTracks/wigCommon.h index d6b3b2c..f24ae92 100644 --- src/hg/hgTracks/wigCommon.h +++ src/hg/hgTracks/wigCommon.h @@ -177,16 +177,20 @@ void wigLeftAxisLabels(struct track *tg, int seqStart, int seqEnd, struct hvGfx *hvg, int xOff, int yOff, int width, int height, boolean withCenterLabels, MgFont *font, Color color, enum trackVisibility vis, char *shortLabel, double graphUpperLimit, double graphLowerLimit, boolean showNumbers); /* Draw labels on left for a wiggle-type track. */ double wiggleLogish(double x); /* Return log-like transform without singularity at 0. */ /****************** in source file bedGraph.c ************************/ void wigBedGraphFindItemLimits(void *items, double *graphUpperLimit, double *graphLowerLimit); /* find upper and lower limits of graphed items (bedGraphItem) */ +int normalizeCount(struct preDrawElement *el, double countFactor, + double minVal, double maxVal, double sumData, double sumSquares); +/* Normalize statistics to be based on an integer number of valid bases. + * Integer value is the smallest integer not less than countFactor. */ #endif /* WIGCOMMON_H */