d3f9b9ecf2a6d30bd8f97566f72e5650982c308d
kent
  Mon Dec 13 15:22:03 2021 -0800
Adding hgTracks display of merged bar charts.

diff --git src/inc/fieldedTable.h src/inc/fieldedTable.h
index a2d2c32..8b7bf6b 100644
--- src/inc/fieldedTable.h
+++ src/inc/fieldedTable.h
@@ -49,30 +49,33 @@
 struct fieldedTable *fieldedTableReadTabHeader(struct lineFile *lf, 
     char *requiredFields[], int requiredCount);
 /* Read in first line of file treating it as a fieldedTable header line. 
  * Use lineFileNextRowTab(lf, row, table->fieldCount)  on a row you provide
  * that is table->fieldCount sized */
 
 
 void fieldedTableToTabFile(struct fieldedTable *table, char *fileName);
 /* Write out a fielded table back to file */
 
 void fieldedTableToTabFileWithId(struct fieldedTable *table, char *fileName, 
     char *idField, int startId);
 /* Write out a fielded table back to file.  If idField is non-NULL it will be added
  * to the start of each output line as a steadily incrementing integer starting with startId. */
 
+void fieldedTableResetRowIds(struct fieldedTable *table, int startId);
+/* Redo ID's in table to be incrementing numbers starting with startId */
+
 boolean fieldedTableColumnIsNumeric(struct fieldedTable *table, int fieldIx);
 /* Return TRUE if field has numeric values wherever non-null */
 
 double fieldedTableMaxInCol(struct fieldedTable *table, int colIx);
 /* Figure out total and count columns from context and use them to figure
  * out maximum mean value */
 
 int fieldedTableMaxColChars(struct fieldedTable *table, int colIx);
 /* Calculate the maximum number of characters in a cell for a column */
 
 void fieldedTableSortOnField(struct fieldedTable *table, char *field, boolean doReverse);
 /* Sort on field.  Distinguishes between numerical and text fields appropriately.  */
 
 int fieldedTableMustFindFieldIx(struct fieldedTable *table, char *field);
 /* Find index of field in table's row.  Abort if field not found. */