src/hg/hgTables/sumStats.c 1.24
1.24 2009/03/12 16:45:16 kent
Making filter and non-base-pair intersections work with bigWig. (Base-by-base intersections work 80%, but going to have to change design to get last 20% working.) Fixed bug I introduced in correlation of regular wig that Kayla spotted. Moving bigWig stuff to it's own module.
Index: src/hg/hgTables/sumStats.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/sumStats.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -B -U 4 -r1.23 -r1.24
--- src/hg/hgTables/sumStats.c 10 Mar 2009 01:25:24 -0000 1.23
+++ src/hg/hgTables/sumStats.c 12 Mar 2009 16:45:16 -0000 1.24
@@ -238,8 +238,18 @@
{
hPrintf("<TR><TD>%s</TD><TD ALIGN=RIGHT>%s</TD></TR>\n", label, val);
}
+void wigFilterStatRow(struct sqlConnection *conn)
+/* Put row in statistics table that says what wig filter is on. */
+{
+hPrintf("<TR><TD>filter</TD><TD ALIGN=RIGHT>");
+if (anyFilter())
+ wigShowFilter(conn);
+else
+ hPrintf("off");
+hPrintf("</TD>\n");
+}
void doSummaryStatsBed(struct sqlConnection *conn)
/* Put up page showing summary stats for track that is in database
* or that is bed-format custom. */