##Browser Control API##
After initialization, the browser can be controlled through the object "igv.browser" using the commands described below.
####loadTrack####
Load and configure a track. See the Tracks page for more detail on configuration options.
igv.browser.loadTrack({ url: 'http://data.broadinstitute.org/igvdata/1KG/b37/data/HG02450/alignment/HG02450.mapped.ILLUMINA.bwa.ACB.low_coverage.20120522.bam', label: 'HG02450' }
####search####
Search by gene symbol
igv.browser.search('EGFR')
Go to explicit location
igv.browser.search('chr10:1000-2000')
####zoom####
Zoom in by a factor of 2
igv.browser.zoomIn()
Zoom out by a factor of 2
igv.browser.zoomOut()
There was an error while loading. Please reload this page.