You can use these track names in the URL along with a visibility
setting to set the visibility of that track in the subsequent image.
For example, to set knownGene to display dense, you would add
"&knownGene=dense" to your URL. You can also control the display
of tracks using "browser" lines in the custom track file I described
in my response to your first question. You can find details on using
"browser" lines here:
https://genome.ucsc.edu/goldenPath/help/customTrack.html#BROWSER.
I should also note that it looks like there is one mistake in your
URL that is cuase the "db=" parameter to be ignored. You should
remove the "&" before "db=hg18" in the URL:
http://genome.ucsc.edu/cgi-bin/hgRenderTracks?&db=hg18. When I
was looking at the images generated by curling that URL, it was
ignoring the "db" parameter and displaying hg38 instead of hg18.
Once I remove that extra "&", it displayed hg18.
I hope this is helpful. If you have any further questions, please
reply to
gen...@soe.ucsc.edu. All messages sent to that address are
archived on a publicly-accessible Google Groups forum. If your
question includes sensitive data, you may send it instead to
genom...@soe.ucsc.edu.
Matthew Speir
UCSC Genome Bioinformatics Group