{
  "title": "Locus · MLPH",
  "subtitle": "8 cCRE→gene arcs · 232 credible variants · ρ-coloured arcs & cCREs, gene anchor, PIP lollipops · chr2:237,452,654-237,535,759",
  "assembly": "hg38",
  "spacing": 8,
  "layout": "linear",
  "views": [
    {
      "tracks": [
        {
          "data": {
            "type": "csv",
            "url": "REPLACE_WITH_WORKSPACE_URL/O1g_arcs.tsv",
            "separator": "\t",
            "chromosomeField": "ccre_chrom",
            "genomicFields": [
              "element_mid",
              "tss",
              "ccre_start",
              "ccre_end"
            ]
          },
          "dataTransform": [
            {
              "type": "filter",
              "field": "gene",
              "oneOf": [
                "MLPH"
              ]
            }
          ],
          "mark": "withinLink",
          "x": {
            "field": "element_mid",
            "type": "genomic",
            "domain": {
              "chromosome": "chr2",
              "interval": [
                237452654,
                237535759
              ]
            },
            "linkingId": "locusdetail"
          },
          "xe": {
            "field": "tss",
            "type": "genomic"
          },
          "stroke": {
            "field": "rho",
            "type": "quantitative",
            "domain": [
              0.28,
              0.67
            ],
            "legend": true
          },
          "color": {
            "field": "rho",
            "type": "quantitative",
            "domain": [
              0.28,
              0.67
            ],
            "legend": false
          },
          "strokeWidth": {
            "value": 1.6
          },
          "opacity": {
            "value": 0.6
          },
          "width": 860,
          "height": 110
        },
        {
          "data": {
            "type": "csv",
            "url": "REPLACE_WITH_WORKSPACE_URL/O1g_arcs.tsv",
            "separator": "\t",
            "chromosomeField": "ccre_chrom",
            "genomicFields": [
              "element_mid",
              "tss",
              "ccre_start",
              "ccre_end"
            ]
          },
          "dataTransform": [
            {
              "type": "filter",
              "field": "gene",
              "oneOf": [
                "MLPH"
              ]
            }
          ],
          "mark": "rect",
          "x": {
            "field": "ccre_start",
            "type": "genomic",
            "domain": {
              "chromosome": "chr2",
              "interval": [
                237452654,
                237535759
              ]
            },
            "linkingId": "locusdetail"
          },
          "xe": {
            "field": "ccre_end",
            "type": "genomic"
          },
          "color": {
            "field": "rho",
            "type": "quantitative",
            "domain": [
              0.28,
              0.67
            ],
            "legend": false
          },
          "stroke": {
            "value": "#1B222B"
          },
          "strokeWidth": {
            "value": 0.4
          },
          "width": 860,
          "height": 18
        },
        {
          "alignment": "overlay",
          "data": {
            "type": "json",
            "values": [
              {
                "chrom": "chr2",
                "s": 237485208,
                "e": 237485648,
                "gene": "MLPH"
              }
            ],
            "chromosomeField": "chrom",
            "genomicFields": [
              "s",
              "e"
            ]
          },
          "x": {
            "field": "s",
            "type": "genomic",
            "domain": {
              "chromosome": "chr2",
              "interval": [
                237452654,
                237535759
              ]
            },
            "linkingId": "locusdetail"
          },
          "xe": {
            "field": "e",
            "type": "genomic"
          },
          "color": {
            "value": "#1B222B"
          },
          "tracks": [
            {
              "mark": "rect"
            },
            {
              "mark": "triangleBottom",
              "size": {
                "value": 8
              }
            },
            {
              "mark": "text",
              "text": {
                "field": "gene",
                "type": "nominal"
              },
              "size": {
                "value": 11
              }
            }
          ],
          "width": 860,
          "height": 20
        },
        {
          "alignment": "overlay",
          "data": {
            "type": "csv",
            "url": "REPLACE_WITH_WORKSPACE_URL/O1e_credible_variants.tsv",
            "separator": "\t",
            "chromosomeField": "var_chrom",
            "genomicFields": [
              "var_pos"
            ]
          },
          "dataTransform": [
            {
              "type": "filter",
              "field": "gene",
              "oneOf": [
                "MLPH"
              ]
            },
            {
              "type": "replace",
              "field": "in_ccre",
              "newField": "evid",
              "replace": [
                {
                  "from": "True",
                  "to": "in cCRE"
                },
                {
                  "from": "False",
                  "to": "LD proxy"
                }
              ]
            }
          ],
          "x": {
            "field": "var_pos",
            "type": "genomic",
            "domain": {
              "chromosome": "chr2",
              "interval": [
                237452654,
                237535759
              ]
            },
            "linkingId": "locusdetail"
          },
          "y": {
            "field": "var_pip",
            "type": "quantitative",
            "domain": [
              0,
              1
            ],
            "axis": "left"
          },
          "tracks": [
            {
              "mark": "bar",
              "color": {
                "value": "#C9D3DD"
              },
              "size": {
                "value": 1.6
              }
            },
            {
              "mark": "point",
              "size": {
                "field": "var_pip",
                "type": "quantitative",
                "domain": [
                  0,
                  1
                ],
                "range": [
                  3,
                  9
                ]
              },
              "color": {
                "field": "evid",
                "type": "nominal",
                "domain": [
                  "in cCRE",
                  "LD proxy"
                ],
                "range": [
                  "#AF3A2E",
                  "#B87A0E"
                ],
                "legend": true
              }
            }
          ],
          "width": 860,
          "height": 92
        }
      ]
    }
  ]
}