008c1354e9fce6bef2c4d494a1afc8f22b92c56a kate Fri Jun 8 11:43:29 2018 -0700 Add links to GTEx body map page: hgGene details, hgc for GTEx tracks, gene sorter column info. refs #18628 diff --git src/hg/hgGene/gtex.c src/hg/hgGene/gtex.c index f39316c..2248b11 100644 --- src/hg/hgGene/gtex.c +++ src/hg/hgGene/gtex.c @@ -70,32 +70,34 @@ assert(gtexGene); int tisId; float highestLevel = gtexGeneHighestMedianExpression(gtexGene, &tisId); char *highestTissue = gtexGetTissueDescription(tisId, NULL); float totalLevel = gtexGeneTotalMedianExpression(gtexGene); printf("<b>Highest median expression: </b> %0.2f RPKM in %s\n", highestLevel, highestTissue); printf("<br><b>Total median expression: </b> %0.2f RPKM<br><br>\n", totalLevel); struct tempName pngTn; if (gtexGeneBoxplot(ensGene, NULL, GTEX_DEFAULT_VERSION, FALSE, &pngTn)) hPrintf("<img src = '%s' border=1><br>\n", pngTn.forHtml); hPrintf("<br><a target='_blank' href='../cgi-bin/hgTracks?%s&position=%s:%d-%d>exGene=pack'>" "View in GTEx track of Genome Browser</a>", cartSidUrlString(cart), curGeneChrom, curGeneStart, curGeneEnd); - hPrintf(" "); + gtexPortalLink(ensGene); +hPrintf(" "); +gtexBodyMapLink(); } struct section *gtexSection(struct sqlConnection *conn, struct hash *sectionRa) /* Create GTEx gene expression section. */ { struct section *section = sectionNew(sectionRa, "gtex"); if (section != NULL) { section->exists = gtexExists; section->print = gtexPrint; } return section; }