0a2d8aa2d2c0f3895ab4b8d60d6457a583f4c384
chmalee
Fri Dec 20 10:16:58 2019 -0800
Adding explanation for black shaded items in pLI track to legend and track description. Also adding 'gnomAD' back to short and longlabels, refs #20394
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index b047624..7a87bc6 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -8542,42 +8542,43 @@
hButtonWithOnClick("hgt.setWidth", "resize", "Resize image width to browser window size", "hgTracksSetWidth()");
hPrintf(" ");
hButtonWithMsg("hgt.refresh", "refresh","Refresh image");
hPrintf("
\n");
if( chromosomeColorsMade )
{
hPrintf("Chromosome Color Key:
");
hPrintf("
\n");
}
if (doPliColors)
{
- hPrintf("pLI Color Key:
");
+ hPrintf("gnomAD Loss-of-Function Constraint (pLI) Color Key:
");
hPrintf("
\n");
- hPrintf("< .1 | \n");
- hPrintf("< .2 | \n");
- hPrintf("< .3 | \n");
- hPrintf("< .4 | \n");
- hPrintf("< .5 | \n");
- hPrintf("< .6 | \n");
- hPrintf("< .7 | \n");
- hPrintf("< .8 | \n");
- hPrintf("< .9 | \n");
+ hPrintf("< 0.1 | \n");
+ hPrintf("< 0.2 | \n");
+ hPrintf("< 0.3 | \n");
+ hPrintf("< 0.4 | \n");
+ hPrintf("< 0.5 | \n");
+ hPrintf("< 0.6 | \n");
+ hPrintf("< 0.7 | \n");
+ hPrintf("< 0.8 | \n");
+ hPrintf("< 0.9 | \n");
hPrintf("< 1 | \n");
+ hPrintf("No pLI score | \n");
hPrintf("
\n");
}
if (showTrackControls)
{
/* Display viewing options for each track. */
/* Chuck: This is going to be wrapped in a table so that
* the controls don't wrap around randomly */
hPrintf("\n", CONTROL_TABLE_WIDTH);
hPrintf("\n");
hButtonWithOnClick("hgt.collapseGroups", "collapse all", "collapse all track groups",
"return vis.expandAllGroups(false)");
hPrintf(" | ");