https://github.com/hms-dbmi/higlass
Raw File
Tip revision: 2435183fb9989d2c3d650ab19ef9750dd9cb3c3d authored by Peter Kerpedjiev on 07 September 2017, 19:19:11 UTC
0.8.36
Tip revision: 2435183
test_hw.html
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>HiGlass</title>
<style type="text/css">
    .canvasjs-chart-credit {
    display:none;
}
</style>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
    <link rel="stylesheet" href="styles/page.css">
    <link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.5.4/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.5.4/react-dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.5.2/pixi.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-bootstrap/0.31.0/react-bootstrap.min.js"></script>
</head>
<body >
    <div style="height: 50px" />
        <div style="margin: auto; width: 100%;">
        <div
            id="development-demo"
            style="position: absolute; left: 0px; top: 0px; bottom: 0px; right: 0px">
        </div>
    </div>
</body>
<script src='hglib.js'>
</script>
<script>

 var testViewConfig =
{
  "zoomFixed": false,
  "views": [
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 0,
        "y": 0,
        "i": "aa",
        "moved": false,
        "static": false
      },
      "uid": "aa",
      "initialYDomain": [
        909205453.4278677,
        2753148079.9762335
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        667018485.9107445,
        2522705969.9530497
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "MzLykbKbRXesCeBBscqS2w",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 446,
            "position": "left"
          },
          {
            "name": "Harewood et al (2017) GB238 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "X6R5S65uSA-IDC-VgGYT_A",
            "uid": "VXtOCuNeQRuJlLa_JftWFQ",
            "type": "vertical-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB238 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 20,
            "height": 20,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "Aezt0SyJQcybu16Tq2ZSUQ",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 225,
            "height": 30,
            "position": "top"
          },
          {
            "name": "Harewood et al (2017) GB238 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "X6R5S65uSA-IDC-VgGYT_A",
            "uid": "Yt2oepv8Rwm72xXIwvPX8A",
            "type": "horizontal-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB238 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 225,
            "height": 20,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "DNjN9sWpTkWLLDb4G97Emg",
            "contents": [
              {
                "uid": "MV8_xEDJQ5SEkUXxjjji8w",
                "tilesetUid": "EED7WagDQ3GKlJhhv4MFGg",
                "server": "http://higlass.io/api/v1",
                "width": 225,
                "transforms": [],
                "position": "center",
                "height": 446,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) GB238 - Glioblastoma clinical tumour sample",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) GB238 - Glioblastoma clinical tumour sample"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "awlTZ2xuS9aatvePw8VjdQ",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "position": "center",
                "width": 225,
                "height": 446
              }
            ],
            "options": {},
            "width": 225,
            "height": 446
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 3,
        "y": 0,
        "i": "Re1frH2NR9eTPJ0sUd_uVw",
        "moved": false,
        "static": false
      },
      "uid": "Re1frH2NR9eTPJ0sUd_uVw",
      "initialYDomain": [
        909205453.4279026,
        2753148079.9761977
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        667018485.9107802,
        2522705969.9530144
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "cp9EEK9LRy6S0XXonhzrqA",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 446,
            "position": "left"
          },
          {
            "name": "Harewood et al (2017) GB183 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "XzEulCyOTAWKMP-regAINw",
            "uid": "YCH2jQzPSOGWyLhb3DzpLA",
            "type": "vertical-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB183 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 20,
            "height": 20,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "Q18z7uLRTtCfiGxNWdLAPg",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 30,
            "position": "top"
          },
          {
            "name": "Harewood et al (2017) GB183 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "XzEulCyOTAWKMP-regAINw",
            "uid": "dfYHeyDGTf-sd0qYbeK_QA",
            "type": "horizontal-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB183 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 363,
            "height": 20,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "GXDEgVZxR7-K_QFEWdvmJg",
            "contents": [
              {
                "uid": "P2XOSgn0TXqk96X1HT_aeg",
                "tilesetUid": "LSkxAbglR--CxDvLzVI5Ig",
                "server": "http://higlass.io/api/v1",
                "width": 363,
                "transforms": [],
                "position": "center",
                "height": 446,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) GB183 - Glioblastoma clinical tumour sample",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) GB183 - Glioblastoma clinical tumour sample"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "Ojz9v-1hTE6lUYV6-j79eg",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "position": "center",
                "width": 363,
                "height": 446
              }
            ],
            "options": {},
            "width": 363,
            "height": 446
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 6,
        "y": 0,
        "i": "HHRcxFRLTVypreHEDBmROA",
        "moved": false,
        "static": false
      },
      "uid": "HHRcxFRLTVypreHEDBmROA",
      "initialYDomain": [
        909205453.4279023,
        2753148079.976198
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        667018485.9107802,
        2522705969.953015
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "fLJvV853TSeZcsQEBmTsOQ",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 446,
            "position": "left"
          },
          {
            "name": "Harewood et al (2017) GB182 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "CF5YvqfCToenq7gsSOuA-g",
            "uid": "IJlcQIhaR6CVJqhOktIl7w",
            "type": "vertical-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB182 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 20,
            "height": 20,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "Qt8Lv0aUSly5jFdv8O7w6A",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 30,
            "position": "top"
          },
          {
            "name": "Harewood et al (2017) GB182 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "CF5YvqfCToenq7gsSOuA-g",
            "uid": "LjzEYjnRTgSa8Bx6AwiV-g",
            "type": "horizontal-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB182 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 363,
            "height": 20,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "CkGWVwboTRaAu6nJCjEDig",
            "contents": [
              {
                "uid": "PkLJkm04S7aopzzFFzlwnw",
                "tilesetUid": "F1XLhFLkTvixGkZeKeX0mw",
                "server": "http://higlass.io/api/v1",
                "width": 363,
                "transforms": [],
                "position": "center",
                "height": 446,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) GB182 - Glioblastoma clinical tumour sample",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) GB182 - Glioblastoma clinical tumour sample"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "eAdz-0DzRAWq-LkfWestRQ",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "width": 363,
                "height": 446,
                "position": "center"
              }
            ],
            "options": {},
            "width": 363,
            "height": 446
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 0,
        "y": 11,
        "i": "BagZu2hDS-KN8SWB9BuNhg",
        "moved": false,
        "static": false
      },
      "uid": "BagZu2hDS-KN8SWB9BuNhg",
      "initialYDomain": [
        909205453.4279023,
        2753148079.976198
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        667018485.9107802,
        2522705969.953015
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "POHdClTFS9SvCL_s5FSMNA",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 446,
            "position": "left"
          },
          {
            "name": "Harewood et al (2017) GB180 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "OOsW9niLSw-ks1273r059w",
            "uid": "bDXjHVFdQVyPfonPmYgkYQ",
            "type": "vertical-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB180 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 20,
            "height": 20,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "Z0BQuN40RRe53MpgPYSSbw",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 30,
            "position": "top"
          },
          {
            "name": "Harewood et al (2017) GB180 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "OOsW9niLSw-ks1273r059w",
            "uid": "dAZ4KGlVTsS91n-zzRUMhQ",
            "type": "horizontal-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB180 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 363,
            "height": 20,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "J8wLFY2KSoiGcgKtzKa7jg",
            "contents": [
              {
                "uid": "L2O-HcZiTceLqQDbNaPpmw",
                "tilesetUid": "ZpQo95J7SjeRFnTnBDrCEA",
                "server": "http://higlass.io/api/v1",
                "width": 363,
                "transforms": [],
                "position": "center",
                "height": 446,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) GB180 - Glioblastoma clinical tumour sample",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) GB180 - Glioblastoma clinical tumour sample"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "IG3g5kGFTii1lg-Lb9IG9w",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "width": 363,
                "height": 446,
                "position": "center"
              }
            ],
            "options": {},
            "width": 363,
            "height": 446
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 9,
        "y": 0,
        "i": "eaooybxMT-eO_3oeezf2DQ",
        "moved": false,
        "static": false
      },
      "uid": "eaooybxMT-eO_3oeezf2DQ",
      "initialYDomain": [
        888651952.8135116,
        2773701580.5905895
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        608294198.4410901,
        2581430257.4227037
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "QurTaBoAR6WVkv6yVbtApw",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 466,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "dzk8iwsOSLiG_PZ0DtUkwg",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 43,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "Li1SATliTXOMTIrrvZTvKg",
            "contents": [
              {
                "uid": "ARqFTSwdS2-5BC1IdEW61w",
                "tilesetUid": "YP3DJy2OTcWhwmauyHWYSQ",
                "server": "http://higlass.io/api/v1",
                "width": 225,
                "transforms": [],
                "position": "center",
                "height": 466,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) AA86 - Anaplastic astrocytoma clinical tumour sample",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) AA86 - Anaplastic astrocytoma clinical tumour sample"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "VKMGiw3cS6ik4t2Kj5AQeg",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "position": "center"
              }
            ],
            "options": {},
            "width": 225,
            "height": 466
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 3,
        "y": 11,
        "i": "Rex0EuCDTduKq6HBINs9Bg",
        "moved": false,
        "static": false
      },
      "uid": "Rex0EuCDTduKq6HBINs9Bg",
      "initialYDomain": [
        909205453.4279034,
        2753148079.9761963
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        667018485.9107814,
        2522705969.9530125
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "Mm9PZICVSqGsxrp-mhlxSQ",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 446,
            "position": "left"
          },
          {
            "name": "Harewood et al (2017) GB176 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "TYB2TeZ1SxmJK7HH6fhpOw",
            "uid": "ZdFdeXZFSBy907r9u8V5Qg",
            "type": "vertical-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB176 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 20,
            "height": 20,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "byNYGzm9SKWLm3tmc41vfA",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 30,
            "position": "top"
          },
          {
            "name": "Harewood et al (2017) GB176 - CNVS - Glioblastoma clinical tumour sample",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "TYB2TeZ1SxmJK7HH6fhpOw",
            "uid": "FsM0Ir2hSsivlIYKQ6GWbA",
            "type": "horizontal-point",
            "options": {
              "labelColor": "black",
              "labelPosition": "topLeft",
              "axisPositionHorizontal": "right",
              "lineStrokeColor": "red",
              "lineStrokeWidth": 1,
              "valueScaling": "linear",
              "trackBorderWidth": 0,
              "trackBorderColor": "black",
              "labelTextOpacity": 0.4,
              "name": "Harewood et al (2017) GB176 - CNVS - Glioblastoma clinical tumour sample"
            },
            "width": 363,
            "height": 20,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "eQcBf18_R4S0aKtr-pX7Sw",
            "contents": [
              {
                "uid": "QL7_AKh8TJyTlgpuMPHQaQ",
                "tilesetUid": "WnIr7djYQ4-kqScSapOH2Q",
                "server": "http://higlass.io/api/v1",
                "width": 363,
                "transforms": [],
                "position": "center",
                "height": 446,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) GB176 - Glioblastoma clinical tumour sample",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) GB176 - Glioblastoma clinical tumour sample"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "dirzOWJyTk6_Ji8VjgML8A",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "position": "center",
                "width": 363,
                "height": 446
              }
            ],
            "options": {},
            "width": 363,
            "height": 446
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 6,
        "y": 11,
        "i": "EiWg6ceYSMmY5UfdN8D4Ww",
        "moved": false,
        "static": false
      },
      "uid": "EiWg6ceYSMmY5UfdN8D4Ww",
      "initialYDomain": [
        897460595.9339589,
        2764892937.4701414
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        669954700.2842596,
        2519769755.579535
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "Mr3lZ2MvQF6LE2ui-T2RPw",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 41,
            "height": 450,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "GUZedOcsQpyOsLKBynZQiA",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 46,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "RZUjSterQMik3FAkWv3buA",
            "contents": [
              {
                "uid": "JAaPkVCLTD68jU92-Dq5yA",
                "tilesetUid": "HJHNuDzOTsKq49EZo3RJsw",
                "server": "http://higlass.io/api/v1",
                "width": 225,
                "transforms": [],
                "position": "center",
                "height": 466,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) DD1618 - Emanuel syndrome patient-derived lymphoblastoid cell line",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) DD1618 - Emanuel syndrome patient-derived lymphoblastoid cell line"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "B25zV4KBRl2vtbL-aAztkg",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "position": "center"
              }
            ],
            "options": {},
            "width": 225,
            "height": 466
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    },
    {
      "layout": {
        "w": 3,
        "h": 11,
        "x": 9,
        "y": 11,
        "i": "LLcUhxhlQnWxMr1x6CkTFw",
        "moved": false,
        "static": false
      },
      "uid": "LLcUhxhlQnWxMr1x6CkTFw",
      "initialYDomain": [
        906269239.05442,
        2756084294.3496804
      ],
      "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&",
      "initialXDomain": [
        608294198.4410917,
        2581430257.4227023
      ],
      "tracks": {
        "left": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "W6gIqCPTS1qcQXlgTjX6kw",
            "type": "vertical-chromosome-labels",
            "options": {},
            "width": 20,
            "height": 466,
            "position": "left"
          }
        ],
        "top": [
          {
            "name": "Chromosome Axis",
            "server": "http://higlass.io/api/v1",
            "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
            "uid": "F48WbA-OQPqK420AZWLEeg",
            "type": "horizontal-chromosome-labels",
            "options": {},
            "width": 363,
            "height": 49,
            "position": "top"
          }
        ],
        "right": [],
        "center": [
          {
            "position": "center",
            "type": "combined",
            "uid": "cj9ak_Z7QUKB_h8k55P8Gg",
            "contents": [
              {
                "uid": "N-xi_POeTu-O3sQ7iiTMLQ",
                "tilesetUid": "JY9fY0JKQwicChPob2aQCg",
                "server": "http://higlass.io/api/v1",
                "width": 225,
                "transforms": [],
                "position": "center",
                "height": 466,
                "type": "heatmap",
                "options": {
                  "colorbarLabelsPosition": "inside",
                  "name": "Harewood et al (2017) GM07017 - Human cell line control",
                  "colorbarPosition": "topRight",
                  "labelPosition": "bottomRight",
                  "trackBorderWidth": 0,
                  "maxZoom": null,
                  "trackBorderColor": "black",
                  "colorRange": [
                    "white",
                    "rgba(245,166,35,1.0)",
                    "rgba(208,2,27,1.0)",
                    "black"
                  ]
                },
                "name": "Harewood et al (2017) GM07017 - Human cell line control"
              },
              {
                "name": "Chromosome Grid",
                "server": "http://higlass.io/api/v1",
                "tilesetUid": "N12wVGG9SPiTkk03yUayUw",
                "uid": "ZQiVm832Rgad3oCR3uiAzQ",
                "type": "2d-chromosome-grid",
                "options": {
                  "lineStrokeWidth": 1,
                  "lineStrokeColor": "grey"
                },
                "position": "center"
              }
            ],
            "options": {},
            "width": 225,
            "height": 466
          }
        ],
        "bottom": []
      },
      "chromInfoPath": "//s3.amazonaws.com/pkerp/data/hg19/chromSizes.tsv",
      "genomePositionSearchBoxVisible": true,
      "genomePositionSearchBox": {
        "visible": false,
        "chromInfoServer": "http://higlass.io/api/v1",
        "autocompleteServer": "http://higlass.io/api/v1",
        "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
        "chromInfoId": "hg19"
      }
    }
  ],
  "editable": true,
  "exportViewUrl": "/api/v1/viewconfs",
  "zoomLocks": {
    "locksByViewUid": {
      "aa": "Pq4cb6gDRvW423rnX6RL3Q",
      "HHRcxFRLTVypreHEDBmROA": "Pq4cb6gDRvW423rnX6RL3Q",
      "BagZu2hDS-KN8SWB9BuNhg": "Pq4cb6gDRvW423rnX6RL3Q",
      "LLcUhxhlQnWxMr1x6CkTFw": "Pq4cb6gDRvW423rnX6RL3Q",
      "eaooybxMT-eO_3oeezf2DQ": "Pq4cb6gDRvW423rnX6RL3Q",
      "EiWg6ceYSMmY5UfdN8D4Ww": "Pq4cb6gDRvW423rnX6RL3Q",
      "Rex0EuCDTduKq6HBINs9Bg": "Pq4cb6gDRvW423rnX6RL3Q",
      "Re1frH2NR9eTPJ0sUd_uVw": "Pq4cb6gDRvW423rnX6RL3Q"
    },
    "locksDict": {
      "Pq4cb6gDRvW423rnX6RL3Q": {
        "aa": [
          1549999999.9999998,
          1553909205.5485497,
          1954602.7742749006
        ],
        "HHRcxFRLTVypreHEDBmROA": [
          1550000000,
          1553909205.5485497,
          1954602.774274826
        ],
        "BagZu2hDS-KN8SWB9BuNhg": [
          1550000000,
          1553909205.5485497,
          1954602.774274826
        ],
        "LLcUhxhlQnWxMr1x6CkTFw": [
          1549999999.9999998,
          1553909205.5485494,
          1954602.774274826
        ],
        "eaooybxMT-eO_3oeezf2DQ": [
          1549999999.9999998,
          1553909205.5485497,
          1954602.774274826
        ],
        "EiWg6ceYSMmY5UfdN8D4Ww": [
          1549999999.9999998,
          1553909205.5485494,
          1954602.774274826
        ],
        "Rex0EuCDTduKq6HBINs9Bg": [
          1549999999.9999998,
          1553909205.5485494,
          1954602.774274826
        ],
        "Re1frH2NR9eTPJ0sUd_uVw": [
          1550000000,
          1553909205.5485497,
          1954602.774274826
        ]
      }
    }
  },
  "trackSourceServers": [
    "http://higlass.io/api/v1"
  ],
  "locationLocks": {
    "locksByViewUid": {
      "aa": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "HHRcxFRLTVypreHEDBmROA": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "BagZu2hDS-KN8SWB9BuNhg": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "LLcUhxhlQnWxMr1x6CkTFw": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "eaooybxMT-eO_3oeezf2DQ": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "EiWg6ceYSMmY5UfdN8D4Ww": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "Rex0EuCDTduKq6HBINs9Bg": "Y1C5Z7kRTYW6P_0bYz7a8g",
      "Re1frH2NR9eTPJ0sUd_uVw": "Y1C5Z7kRTYW6P_0bYz7a8g"
    },
    "locksDict": {
      "Y1C5Z7kRTYW6P_0bYz7a8g": {
        "aa": [
          1549999999.9999998,
          1553909205.5485497,
          1954602.7742749006
        ],
        "HHRcxFRLTVypreHEDBmROA": [
          1550000000,
          1553909205.5485497,
          1954602.774274826
        ],
        "BagZu2hDS-KN8SWB9BuNhg": [
          1550000000,
          1553909205.5485497,
          1954602.774274826
        ],
        "LLcUhxhlQnWxMr1x6CkTFw": [
          1549999999.9999998,
          1553909205.5485494,
          1954602.774274826
        ],
        "eaooybxMT-eO_3oeezf2DQ": [
          1549999999.9999998,
          1553909205.5485497,
          1954602.774274826
        ],
        "EiWg6ceYSMmY5UfdN8D4Ww": [
          1549999999.9999998,
          1553909205.5485494,
          1954602.774274826
        ],
        "Rex0EuCDTduKq6HBINs9Bg": [
          1549999999.9999998,
          1553909205.5485494,
          1954602.774274826
        ],
        "Re1frH2NR9eTPJ0sUd_uVw": [
          1550000000,
          1553909205.5485497,
          1954602.774274826
        ]
      }
    }
  }
}
 ;

    window.higlassApi;

    hglib.createHgComponent(
        document.getElementById('development-demo'),
        testViewConfig,
        { bounded: true },
        function (api) {
            window.hgApi = api;
        }
    );

    // setTimeout(function () {
    //   // Go to PTEN
    //   window.hgApi.goTo(
    //     testViewConfig.views[0].uid,
    //     'chr10',
    //     89596071,
    //     89758810,
    //     'chr10',
    //     89596071,
    //     89758810,
    //     true,
    //     10000
    //   );
    // }, 3000);

    // setTimeout(function () {
    //   // Go to Chr1 without animation
    //   window.hgApi.goTo(
    //     testViewConfig.views[0].uid,
    //     'chr1',
    //     0,
    //     89758810,
    //     'chr1',
    //     0,
    //     89758810
    //   );
    // }, 11000);


</script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-77756807-1', 'auto');
    ga('send', 'pageview');

</script>
</html>
back to top