src/hg/hgTracks/wigCommon.h 1.10
1.10 2010/04/27 23:31:41 braney
first pass at multiWiggle. This shouldn't change existing behavior. Add extTable to your bigWig trackDb to get two tables into one bigWig wiggle track.
Index: src/hg/hgTracks/wigCommon.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/wigCommon.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/hg/hgTracks/wigCommon.h 17 Nov 2009 20:47:49 -0000 1.9
+++ src/hg/hgTracks/wigCommon.h 27 Apr 2010 23:31:41 -0000 1.10
@@ -31,8 +31,14 @@
struct wigCartOptions *wigCartOptionsNew(struct cart *cart, struct trackDb *tdb, int wordCount, char *words[]);
/* Create a wigCartOptions from cart contents and tdb. */
+struct preDrawContainer
+ {
+ struct preDrawContainer *next;
+ struct preDrawElement *preDraw;
+ };
+
struct preDrawElement
{
double max; /* maximum value seen for this point */
double min; /* minimum value seen for this point */
@@ -119,9 +125,9 @@
/* find upper and lower limits of graphed items (wigItem) */
void wigDrawPredraw(struct track *tg, int seqStart, int seqEnd,
struct hvGfx *hvg, int xOff, int yOff, int width,
- MgFont *font, Color color, enum trackVisibility vis, struct preDrawElement *preDraw,
+ MgFont *font, Color color, enum trackVisibility vis, struct preDrawContainer *preDrawContainer,
int preDrawZero, int preDrawSize, double *retGraphUpperLimit, double *retGraphLowerLimit);
/* Draw once we've figured out predraw. */
/****************** in source file bedGraph.c ************************/