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("Highest median expression: %0.2f RPKM in %s\n", highestLevel, highestTissue); printf("
Total median expression: %0.2f RPKM

\n", totalLevel); struct tempName pngTn; if (gtexGeneBoxplot(ensGene, NULL, GTEX_DEFAULT_VERSION, FALSE, &pngTn)) hPrintf("
\n", pngTn.forHtml); hPrintf("
" "View in GTEx track of Genome Browser", 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; }