a9dd8b9c383927df373d50e5917b20c959c662fc kate Wed Nov 23 10:49:30 2016 -0800 Link to new GTEX Body Map configuration page from hgc and config page. From QA review. refs #17369 diff --git src/hg/inc/gtexUi.h src/hg/inc/gtexUi.h index a02d7ee..cc5b97a 100644 --- src/hg/inc/gtexUi.h +++ src/hg/inc/gtexUi.h @@ -57,25 +57,37 @@ /* Hide exons */ #define GTEX_SHOW_EXONS "showExons" #define GTEX_SHOW_EXONS_DEFAULT FALSE /* Suppress whiteout behind graph (to show highlight and blue lines) */ #define GTEX_NO_WHITEOUT "noWhiteout" #define GTEX_NO_WHITEOUT_DEFAULT FALSE /* Item name is gene symbol, accession, or both */ #define GTEX_LABEL "label" #define GTEX_LABEL_SYMBOL "name" #define GTEX_LABEL_ACCESSION "accession" #define GTEX_LABEL_BOTH "both" #define GTEX_LABEL_DEFAULT GTEX_LABEL_SYMBOL +/* Identify GTEx gene track as it uses special trackUI. + * NOTE: trackDb must follow this naming convention unless/until there is + * a new trackType. + */ +#define GTEX_GENE_TRACK_BASENAME "gtexGene" + +boolean gtexIsGeneTrack(char *trackName); +/* Identify GTEx gene track so custom trackUi CGI can be launched */ + +char *gtexGeneTrackUiName(); +/* Refer to Body Map CGI if suitable */ + void gtexPortalLink(char *geneId); /* print URL to GTEX portal gene expression page using Ensembl Gene Id*/ boolean gtexGeneBoxplot(char *geneId, char *geneName, char *version, boolean doLogTransform, struct tempName *pngTn); /* Create a png temp file with boxplot of GTEx expression values for this gene. * GeneId is the Ensembl gene ID. GeneName is the HUGO name, used for graph title; * If NULL, label with the Ensembl gene ID */ #endif /* GTEXUI_H */