ba14f4302cf8fb07c94849c27fe1793ddabdbc92 dschmelt Tue Jan 21 12:17:09 2020 -0800 Adding track height URL setting #24794 diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index 470bbb9..bf0ac78 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -82,37 +82,43 @@ <a name="trackViz"></a> <h2>Setting Track Visibility via URL</h2> <h6>How do I create a custom URL to control the visibility of specific tracks?</h6> <p> You can control the visibility of tracks from the URL with the following parameters, each linked by the "&" sign, similar to position parameters. For more information, please see the <a href="../goldenPath/help/customTrack.html#optParams" target ="_blank">optional URL parameters</a> section of the Custom Tracks User's Guide.</p> <ul> <li><code>hideTracks=1</code> - hides all tracks</li> <li><code><trackName>=hide|dense|pack|full</code> - sets specified track or subtrack to a chosen visibility</li> <li><code>textSize=<number></code> - sets browser text size to either 6, 8, 10, 12, 14, 18, 24, or 34. Default is a textSize of 8.</li> -<li><code>ignoreCookie=1</code> - removes pre-existing user settings like track seletion, custom +<li><code><trackName>.heightPer=<###></code> - sets a bigWig track's height to a +particular number of pixels (between 20-100)</li> +<li><code>ignoreCookie=1</code> - removes pre-existing user settings like track selection, custom tracks, and track hubs</li> </ul> <p> -For example, you can use the following command to hide every track (hideTracks=1) and set the knownGene track to -the pack visibility (knownGene=pack):</p> -<p><code><a href="../cgi-bin/hgTracks?db=hg38&hideTracks=1&knownGene=pack">http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&knownGene=pack</a></code></p> +For example, you can use the following command to hide every track (hideTracks=1), set the +genome database to hg38 (db=hg38), set the mappability track to full visibility (mappability=full), +and set the umap track height to 100 pixels (umap24Quantitative.heightPer=100). Each of these +parameters can be used individually or in combination.</p> +<p><code><a +href="../cgi-bin/hgTracks?db=hg38&ignoreCookie=1&hideTracks=1&mappability=full&umap24Quantitative.heightPer=100"> +http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&mappability=full&umap24Quantitative.heightPer=100</a></code></p> <p>Composite tracks have additional URL parameters that encode options to hide, select, and display subtracks.</p> <ul> <li><code><trackName>_hideKids=1</code> - hides a specific composite track's subtracks</li> <li><code><trackName>_sel=1</code> - selects specific subtrack to be 'checked', allowing display</li> </ul> <p>For example, the following URL hides all tracks (hideTracks=1), hides a specific composite track's default subtracks (refSeqComposite_hideKids=1), turns on one specific subtrack (ncbiRefSeqCurated=full), and checks a box to display that subtrack (ncbiRefSeqCurated_sel=1). <pre><a href="../cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1" target="_blank">https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1</a></pre>