f3987f39afa22e1099713ca3dfbfb3fe27987fa7
kate
Thu Sep 8 11:36:46 2016 -0700
Restore link to gene page of GTEx portal. It's working again.
diff --git src/hg/hgGene/gtex.c src/hg/hgGene/gtex.c
index 32b9494..f39316c 100644
--- src/hg/hgGene/gtex.c
+++ src/hg/hgGene/gtex.c
@@ -72,31 +72,30 @@
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);
-// Link is broken as of 8/23/16. Broad has been alerted.
+gtexPortalLink(ensGene);
}
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;
}