5239a72b96078821a5b34d7fda0cf09fa5b5340a kate Mon Sep 18 13:56:59 2017 -0700 Add units to effect size on details page table. refs #15646 diff --git src/hg/hgc/gtexEqtlClusterClick.c src/hg/hgc/gtexEqtlClusterClick.c index 7152e66..b5de604 100644 --- src/hg/hgc/gtexEqtlClusterClick.c +++ src/hg/hgc/gtexEqtlClusterClick.c @@ -96,31 +96,31 @@ posLink, end-start, FLANK); } static void printClusterDetails(struct gtexEqtlCluster *eqtl, char *table) /* Print details of an eQTL cluster */ { webNewSection("eQTL Cluster Details"); char *version = gtexVersion(table); struct gtexTissue *tissues = gtexGetTissues(version); struct hash *tissueHash = hashNew(0); struct gtexTissue *tis = NULL; for (tis = tissues; tis != NULL; tis = tis->next) hashAdd(tissueHash, tis->name, tis); printf("\n"); printf(""); -printf("\n"); +printf("\n"); int i; for (i=0; iexpCount; i++) { double effect = eqtl->expScores[i]; double pval = eqtl->expPvals[i]; double prob = eqtl->expProbs[i]; struct gtexTissue *tis = (struct gtexTissue *)hashFindVal(tissueHash, eqtl->expNames[i]); unsigned color = tis ? tis->color : 0; // BLACK char *name = tis ? tis->description : "Unknown"; printf("\n", color, name, effect < 0 ? "" : "+", effect, pval, prob); } printf("
   TissueEffect   P-Value (-log10)Probability
   TissueEffect (FPKM)  P-Value (-log10)Probability
%s%s%0.2f%0.2f%0.2f
"); webEndSection(); }