e2acc858c490cbe1d1d8e51a6c704c96d30d032c chmalee Thu Jan 7 10:20:01 2021 -0800 Fix up gnomad constraint legend to match new colors, refs #26399 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index dff2581..db498d4 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -8847,43 +8847,43 @@ hButtonWithOnClick("hgt.setWidth", "resize", "Resize image width to browser window size", "hgTracksSetWidth()"); hPrintf(" "); hButtonWithMsg("hgt.refresh", "refresh","Refresh image"); hPrintf("<BR>\n"); if( chromosomeColorsMade ) { hPrintf("<B>Chromosome Color Key:</B><BR> "); hPrintf("<IMG SRC = \"../images/new_colorchrom.gif\" BORDER=1 WIDTH=596 HEIGHT=18 ><BR>\n"); } if (doPliColors) { - hPrintf("<B>gnomAD Loss-of-Function Constraint (pLI) Color Key:</B><BR> "); + hPrintf("<B>gnomAD Loss-of-Function Constraint (LOEUF) Color Key:</B><BR> "); hPrintf("<table style=\"border: 1px solid black\"><tr>\n"); - hPrintf("<td style=\"background-color:rgb(0,244,153)\">< 0.1</td>\n"); - hPrintf("<td style=\"background-color:rgb(74,240,94)\">< 0.2</td>\n"); - hPrintf("<td style=\"background-color:rgb(127,233,58)\">< 0.3</td>\n"); - hPrintf("<td style=\"background-color:rgb(165,224,26)\">< 0.4</td>\n"); - hPrintf("<td style=\"background-color:rgb(191,210,22)\">< 0.5</td>\n"); - hPrintf("<td style=\"background-color:rgb(210,191,13)\">< 0.6</td>\n"); - hPrintf("<td style=\"background-color:rgb(224,165,8)\">< 0.7</td>\n"); - hPrintf("<td style=\"background-color:rgb(233,127,5)\">< 0.8</td>\n"); - hPrintf("<td style=\"background-color:rgb(240,74,3)\">< 0.9</td>\n"); - hPrintf("<td style=\"background-color:rgb(244,0,2)\">< 1</td>\n"); - hPrintf("<td style=\"color: white; background-color:rgb(160,160,160)\">No pLI score</td>\n"); + hPrintf("<td style=\"background-color:rgb(244,0,2)\">< 0.1</td>\n"); + hPrintf("<td style=\"background-color:rgb(240,74,3)\">< 0.2</td>\n"); + hPrintf("<td style=\"background-color:rgb(233,127,5)\">< 0.3</td>\n"); + hPrintf("<td style=\"background-color:rgb(224,165,8)\">< 0.4</td>\n"); + hPrintf("<td style=\"background-color:rgb(210,191,13)\">< 0.5</td>\n"); + hPrintf("<td style=\"background-color:rgb(191,210,22)\">< 0.6</td>\n"); + hPrintf("<td style=\"background-color:rgb(165,224,26)\">< 0.7</td>\n"); + hPrintf("<td style=\"background-color:rgb(127,233,58)\">< 0.8</td>\n"); + hPrintf("<td style=\"background-color:rgb(74,240,94)\">< 0.9</td>\n"); + hPrintf("<td style=\"background-color:rgb(0,244,153)\">≥ 0.9</td>\n"); + hPrintf("<td style=\"color: white; background-color:rgb(160,160,160)\">No LOEUF score</td>\n"); hPrintf("</tr></table>\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("<table border=0 cellspacing=1 cellpadding=1 width=%d>\n", CONTROL_TABLE_WIDTH); hPrintf("<tr><td align='left'>\n"); hButtonWithOnClick("hgt.collapseGroups", "collapse all", "collapse all track groups", "return vis.expandAllGroups(false)"); hPrintf("</td>");