aaf862066887971c08f4fb632fff365a2d453450 jcasper Tue Jan 13 23:09:13 2026 -0800 Changing Hi-C arc limit default to 10000 and turning it on by default, also correcting a typo. refs #36774 diff --git src/hg/inc/hicUi.h src/hg/inc/hicUi.h index 268a9285636..846f9c95aba 100644 --- src/hg/inc/hicUi.h +++ src/hg/inc/hicUi.h @@ -56,31 +56,31 @@ void hicCfgUiComposite(struct cart *cart, struct trackDb *tdb, char *track, char *title, boolean boxed); /* Draw the (empty) list of track configuration options for a composite of Hi-C tracks */ char *hicUiFetchResolution(struct cart *cart, struct trackDb *tdb, struct hicMeta *meta); /* Return the current resolution selection, or the default if none * has been selected. */ void hicUiResolutionDropDown(struct cart *cart, struct trackDb *tdb, struct hicMeta *meta); /* Draw a dropdown menu in HTML to select which binSize to use for fetching data */ int hicUiFetchResolutionAsInt(struct cart *cart, struct trackDb *tdb, struct hicMeta *meta, int windowSize); /* Return the current resolution selection as an integer. If there is no selection, or if "Auto" * has been selected, return the largest available value that still partitions the window into at - * least 5000 bins. */ + * least 500 bins. */ char *hicUiFetchNormalization(struct cart *cart, struct trackDb *tdb, struct hicMeta *meta); /* Return the current normalization selection, or the default if none * has been selected. Right now this is a hard-coded set specifically for * .hic files, but in the future this list might be dynamically determined by * the contents and format of the Hi-C file. */ void hicUiNormalizationDropDown(struct cart *cart, struct trackDb *tdb, struct hicMeta *meta); /* Draw a dropdown menu in HTML to select the normalization method to use. */ char *hicUiFetchDrawMode(struct cart *cart, struct trackDb *tdb); /* Return the current draw mode selection, or the default if none * has been selected. */ boolean hicUiFetchInverted(struct cart *cart, struct trackDb *tdb); @@ -103,18 +103,24 @@ double hicUiFetchMaxValue(struct cart *cart, struct trackDb *tdb); /* Retrieve the score value at which the draw color reaches its * its maximum intensity. Any scores above this value will * share that same draw color. */ double hicUiMaxInteractionRange(struct cart *cart, struct trackDb *tdb); /* Retrieve the maximum range for an interaction to be drawn. Range is * calculated from the left-most start to the right-most end of the interaction. */ double hicUiMinInteractionRange(struct cart *cart, struct trackDb *tdb); /* Retrieve the minimum range for an interaction to be drawn. Range is * calculated from the left-most start to the right-most end of the interaction. */ int hicUiGetArcLimit(struct cart *cart, struct trackDb *tdb); +/* Returns the currently configured limit on the number of arcs drawn in arc mode. + * Defaults to 10000. + */ + boolean hicUiArcLimitEnabled(struct cart *cart, struct trackDb *tdb); +/* Returns true if the checkbox for limiting the number of displayed arcs is checked. + * Defaults to true. */ #endif