e472867f3de4f6f926d4e642220b85972815658a
kate
Tue May 9 09:28:11 2017 -0700
More informative link for data points dataframe. refs #18736
diff --git src/hg/hgc/barChartClick.c src/hg/hgc/barChartClick.c
index f35c130..1030bf5 100644
--- src/hg/hgc/barChartClick.c
+++ src/hg/hgc/barChartClick.c
@@ -391,20 +391,24 @@
printf("Genomic position: "
"%s %s:%d-%d
\n",
database, hgTracksPathAndSettings(), database,
chartItem->chrom, chartItem->chromStart+1, chartItem->chromEnd,
chartItem->chrom, chartItem->chromStart+1, chartItem->chromEnd);
printf("Strand: %s\n", chartItem->strand);
char *matrixUrl = NULL, *sampleUrl = NULL;
struct barChartItemData *vals = getSampleVals(tdb, chartItem, &matrixUrl, &sampleUrl);
if (vals != NULL)
{
// Print boxplot
puts("
");
char *df = makeDataFrame(tdb->table, vals);
char *colorFile = makeColorFile(tdb);
printBoxplot(df, item, chartItem->name2, units, colorFile);
- printf("
View data for all samples\n", df);
+ printf("
View all data points for %s%s%s%s\n", df,
+ chartItem->name,
+ chartItem->name2 ? " (" : "",
+ chartItem->name2 ? chartItem->name2 : "",
+ chartItem->name2 ? ")" : "");
}
puts("
");
}