Skip to content

Commit

Permalink
Testing API Example
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Oct 21, 2016
1 parent 471135f commit 2485524
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions examples/API Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 6,
"metadata": {
"collapsed": false
},
Expand All @@ -18,20 +18,20 @@
"data": {
"text/html": [
"\n",
" <div id=\"igv_5159550\" class=\"igv-js\"></div>\n",
" <div id=\"igv_15046\" class=\"igv-js\"></div>\n",
" <script type=\"text/javascript\">\n",
" require([location.origin + Jupyter.contents.base_url + \"nbextensions/igv/igv-jupyter.js\"], function() {\n",
" var div = $(\"#igv_5159550.igv-js\")[0], options = {\"showKaryo\": false, \"flanking\": 1000, \"doubleClickDelay\": 500, \"locus\": \"chr1:155,173,254-155,173,321\", \"showCenterGuide\": true, \"showRuler\": true, \"tracks\": [{\"indexUrl\": \"//s3.amazonaws.com/igv.broadinstitute.org/annotations/hg19/genes/gencode.v18.collapsed.bed.idx\", \"order\": 1.7976931348623157e+308, \"displayMode\": \"EXPANDED\", \"name\": \"Genes\", \"url\": \"//s3.amazonaws.com/igv.broadinstitute.org/annotations/hg19/genes/gencode.v18.collapsed.bed\", \"format\": \"bed\"}], \"hideIdeogram\": true, \"reference\": {\"id\": \"hg19\"}, \"showNavigation\": true, \"showCursorTrackingGuide\": false};\n",
" var div = $(\"#igv_15046.igv-js\")[0], options = {\"reference\": {\"id\": \"hg19\"}, \"tracks\": [{\"format\": \"bed\", \"displayMode\": \"EXPANDED\", \"name\": \"Genes\", \"url\": \"//s3.amazonaws.com/igv.broadinstitute.org/annotations/hg19/genes/gencode.v18.collapsed.bed\", \"order\": 1.7976931348623157e+308, \"indexUrl\": \"//s3.amazonaws.com/igv.broadinstitute.org/annotations/hg19/genes/gencode.v18.collapsed.bed.idx\"}], \"showRuler\": true, \"flanking\": 1000, \"showCursorTrackingGuide\": false, \"showKaryo\": false, \"doubleClickDelay\": 500, \"hideIdeogram\": true, \"showCenterGuide\": true, \"showNavigation\": true, \"locus\": \"chr1:155,173,254-155,173,321\"};\n",
" igv.createBrowser(div, options);\n",
" });\n",
" </script>\n",
" "
],
"text/plain": [
"<igv.IGV at 0x1069d41d0>"
"<igv.IGV at 0x1067f06a0>"
]
},
"execution_count": 10,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -61,7 +61,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"metadata": {
"collapsed": false,
"scrolled": true
Expand Down Expand Up @@ -89,7 +89,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -100,7 +100,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 3,
"metadata": {
"collapsed": false,
"scrolled": true
Expand Down Expand Up @@ -128,7 +128,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 7,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -139,7 +139,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {
"collapsed": false,
"scrolled": true
Expand Down Expand Up @@ -167,7 +167,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -178,7 +178,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 5,
"metadata": {
"collapsed": false
},
Expand All @@ -205,7 +205,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 3,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand Down

0 comments on commit 2485524

Please sign in to comment.