-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_single_locus_pgap.html
85 lines (51 loc) · 15.3 KB
/
test_single_locus_pgap.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="5a1bb891-e904-42e2-ab0d-b20667cc3a2e" data-root-id="1005"></div>
<script type="application/json" id="1241">
{"7b056ea3-650f-4974-92a5-e4457d88bd64":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{},"id":"1062","type":"BasicTickFormatter"},{"attributes":{"end":7.0,"start":-1},"id":"1004","type":"Range1d"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{"logo":null,"tools":[{"id":"1052"},{"id":"1054"},{"id":"1055"},{"id":"1056"}]},"id":"1024","type":"Toolbar"},{"attributes":{},"id":"1066","type":"AllLabels"},{"attributes":{"code":"// Get label of selected datapoint:\nlet label\nif (typeof cb_data.source.data.hover_html != \"undefined\") {\n // clicked on gene box\n label = cb_data.source.data.hover_html[cb_data.source.selected.indices];\n} else if (typeof cb_data.source.data.text != \"undefined\") {\n // clicked on gene text\n label = cb_data.source.data.text[cb_data.source.selected.indices];\n}\nif (typeof label == \"undefined\" ) {\n console.log('Something was clicked on, but no label could be extracted!');\n} else if (typeof geneLabelClicked == \"undefined\" ) {\n console.log(label, 'was clicked, but function geneLabelClicked(label) is not implemented!');\n} else {\n geneLabelClicked(label, cb_data);\n}\ncb_data.source.change.emit();"},"id":"1053","type":"CustomJS"},{"attributes":{"coordinates":null,"formatter":{"id":"1065"},"group":null,"major_label_policy":{"id":"1066"},"ticker":{"id":"1013"}},"id":"1012","type":"LinearAxis"},{"attributes":{"coordinates":null,"group":null},"id":"1059","type":"Title"},{"attributes":{},"id":"1013","type":"BasicTicker"},{"attributes":{"coordinates":null,"formatter":{"id":"1062"},"group":null,"major_label_policy":{"id":"1063"},"ticker":{"id":"1017"},"visible":false},"id":"1016","type":"LinearAxis"},{"attributes":{},"id":"1068","type":"Selection"},{"attributes":{"dimensions":"width"},"id":"1054","type":"PanTool"},{"attributes":{"source":{"id":"1030"}},"id":"1036","type":"CDSView"},{"attributes":{},"id":"1067","type":"UnionRenderers"},{"attributes":{"source":{"id":"1044"}},"id":"1050","type":"CDSView"},{"attributes":{},"id":"1017","type":"BasicTicker"},{"attributes":{"end":111156,"start":117156},"id":"1058","type":"Range1d"},{"attributes":{"coordinates":null,"data_source":{"id":"1030"},"glyph":{"id":"1032"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"1034"},"nonselection_glyph":{"id":"1033"},"view":{"id":"1036"}},"id":"1035","type":"GlyphRenderer"},{"attributes":{"fill_color":{"field":"color"},"hatch_color":{"field":"color"},"line_color":{"value":"#000000"},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"1032","type":"Patches"},{"attributes":{"line_color":{"value":"#000000"},"line_width":{"value":0.5},"x0":{"field":"x0"},"x1":{"field":"x1"},"y0":{"field":"y0"},"y1":{"field":"y1"}},"id":"1046","type":"Segment"},{"attributes":{"text_align":{"value":"center"},"text_alpha":{"value":0.2},"text_color":{"value":"black"},"text_font":{"value":"arial"},"text_font_size":{"value":"12px"},"x":{"field":"x"},"y":{"field":"y"}},"id":"1041","type":"Text"},{"attributes":{},"id":"1065","type":"BasicTickFormatter"},{"attributes":{"text_align":{"value":"center"},"text_alpha":{"value":0.1},"text_color":{"value":"black"},"text_font":{"value":"arial"},"text_font_size":{"value":"12px"},"x":{"field":"x"},"y":{"field":"y"}},"id":"1040","type":"Text"},{"attributes":{"dimensions":"width"},"id":"1055","type":"WheelZoomTool"},{"attributes":{"coordinates":null,"data_source":{"id":"1037"},"glyph":{"id":"1039"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"1041"},"nonselection_glyph":{"id":"1040"},"view":{"id":"1043"}},"id":"1042","type":"GlyphRenderer"},{"attributes":{},"id":"1056","type":"ResetTool"},{"attributes":{"axis":{"id":"1012"},"coordinates":null,"grid_line_color":null,"group":null,"ticker":null},"id":"1015","type":"Grid"},{"attributes":{"line_alpha":{"value":0.2},"line_color":{"value":"#000000"},"line_width":{"value":0.5},"x0":{"field":"x0"},"x1":{"field":"x1"},"y0":{"field":"y0"},"y1":{"field":"y1"}},"id":"1048","type":"Segment"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#000000"},"line_width":{"value":0.5},"x0":{"field":"x0"},"x1":{"field":"x1"},"y0":{"field":"y0"},"y1":{"field":"y1"}},"id":"1047","type":"Segment"},{"attributes":{},"id":"1063","type":"AllLabels"},{"attributes":{},"id":"1069","type":"UnionRenderers"},{"attributes":{},"id":"1070","type":"Selection"},{"attributes":{"source":{"id":"1037"}},"id":"1043","type":"CDSView"},{"attributes":{"data":{"color":["#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"text":["FAM3257_001019","FAM3257_001024","FAM3257_001014","FAM3257_001020","FAM3257_001032","FAM3257_001029","FAM3257_001025","FAM3257_001013","FAM3257_001027","FAM3257_001010","FAM3257_001018","FAM3257_001022","FAM3257_001026","FAM3257_001016","FAM3257_001015","FAM3257_001011","FAM3257_001012","FAM3257_001008","FAM3257_001033","FAM3257_001030","FAM3257_001031","FAM3257_001009","FAM3257_001023","FAM3257_001028","FAM3257_001021","FAM3257_001017"],"x":{"__ndarray__":"AAAAAPB2+0AAAAAA2IL8QAAAAAAQnPpAAAAAALje+0AAAAAAqBP+QAAAAAB4jf1AAAAAAAjW/EAAAAAAOFX6QAAAAAAgQf1AAAAAAKjI+UAAAAAAcCP7QAAAAACgLPxAAAAAAEgJ/UAAAAAAEO36QAAAAADAz/pAAAAAACDz+UAAAAAAoBb6QAAAAAAYd/lAAAAAAGBH/kAAAAAAWMT9QAAAAADo0/1AAAAAANCL+UAAAAAAUEH8QAAAAADQYf1AAAAAAOgN/EAAAAAAWAL7QA==","dtype":"float64","order":"little","shape":[26]},"y":{"__ndarray__":"AAAAAAAACEAAAAAAAAAUQAAAAAAAABhAAAAAAAAA8D8AAAAAAAAIQAAAAAAAAABAAAAAAAAA8D8AAAAAAAAQQAAAAAAAAAhAAAAAAAAA8D8AAAAAAAAQQAAAAAAAAAhAAAAAAAAAEEAAAAAAAAAAQAAAAAAAAAhAAAAAAAAAFEAAAAAAAAAIQAAAAAAAAAhAAAAAAAAAAEAAAAAAAADwPwAAAAAAABBAAAAAAAAAAEAAAAAAAAAAQAAAAAAAABRAAAAAAAAAEEAAAAAAAAAUQA==","dtype":"float64","order":"little","shape":[26]}},"selected":{"id":"1070"},"selection_policy":{"id":"1069"}},"id":"1037","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"1012"}],"center":[{"id":"1015"},{"id":"1019"}],"height":190,"left":[{"id":"1016"}],"outline_line_color":null,"renderers":[{"id":"1035"},{"id":"1042"},{"id":"1049"}],"sizing_mode":"scale_width","title":{"id":"1059"},"toolbar":{"id":"1024"},"width":1200,"x_range":{"id":"1058"},"x_scale":{"id":"1008"},"y_range":{"id":"1004"},"y_scale":{"id":"1010"}},"id":"1005","subtype":"Figure","type":"Plot"},{"attributes":{"text_align":{"value":"center"},"text_color":{"value":"black"},"text_font":{"value":"arial"},"text_font_size":{"value":"12px"},"x":{"field":"x"},"y":{"field":"y"}},"id":"1039","type":"Text"},{"attributes":{"data":{"color":["#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc","#7245dc"],"hover_html":["FAM3257_001008","FAM3257_001009","FAM3257_001010","FAM3257_001011","FAM3257_001012","FAM3257_001013","FAM3257_001014","FAM3257_001015","FAM3257_001016","FAM3257_001017","FAM3257_001018","FAM3257_001019","FAM3257_001020","FAM3257_001021","FAM3257_001022","FAM3257_001023","FAM3257_001024","FAM3257_001025","FAM3257_001026","FAM3257_001027","FAM3257_001028","FAM3257_001029","FAM3257_001030","FAM3257_001031","FAM3257_001032","FAM3257_001033"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"label":["FAM3257_001008","FAM3257_001009","FAM3257_001010","FAM3257_001011","FAM3257_001012","FAM3257_001013","FAM3257_001014","FAM3257_001015","FAM3257_001016","FAM3257_001017","FAM3257_001018","FAM3257_001019","FAM3257_001020","FAM3257_001021","FAM3257_001022","FAM3257_001023","FAM3257_001024","FAM3257_001025","FAM3257_001026","FAM3257_001027","FAM3257_001028","FAM3257_001029","FAM3257_001030","FAM3257_001031","FAM3257_001032","FAM3257_001033"],"xs":[[104456,104456,104239.33333333333,104156,104239.33333333333,104456],[104735,104735,104623.33333333333,104540,104623.33333333333,104735],[105242,105242,105896.66666666667,105980,105896.66666666667,105242],[106112,106112,106385.66666666667,106469,106385.66666666667,106112],[107037,107037,106763.33333333333,106680,106763.33333333333,107037],[107383,107383,108253.66666666667,108337,108253.66666666667,107383],[108350,108350,109553.66666666667,109637,109553.66666666667,108350],[109636,109636,109921.66666666667,110005,109921.66666666667,109636],[110078,110078,110417.66666666667,110501,110417.66666666667,110078],[110593,110593,110593,110667,110593,110593],[110798,110798,111437.66666666667,111521,111437.66666666667,110798],[111606,111606,113301.66666666667,113385,113301.66666666667,111606],[114774,114774,113621.33333333333,113538,113621.33333333333,114774],[114995,114995,114910.33333333333,114827,114910.33333333333,114995],[115098,115098,115623.66666666667,115707,115623.66666666667,115098],[115831,115831,115719.33333333333,115636,115719.33333333333,115831],[116095,116095,117385.66666666667,117469,117385.66666666667,116095],[117609,117609,118533.66666666667,118617,118533.66666666667,117609],[119164,119164,118785.33333333333,118702,118785.33333333333,119164],[119414,119414,120155.66666666667,120239,120155.66666666667,119414],[120441,120441,120341.33333333333,120258,120341.33333333333,120441],[120517,120517,121495.66666666667,121579,121495.66666666667,120517],[122055,122055,121880.33333333333,121797,121880.33333333333,122055],[122280,122280,122153.33333333333,122070,122153.33333333333,122280],[122658,122658,123648.66666666667,123732,123648.66666666667,122658],[123889,123889,124072.66666666667,124156,124072.66666666667,123889]],"ys":[[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[0.8,1.2,1.2,1.0,0.8,0.8],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[0.8,1.2,1.2,1.0,0.8,0.8],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2],[-0.2,0.2,0.2,0,-0.2,-0.2]]},"selected":{"id":"1068"},"selection_policy":{"id":"1067"}},"id":"1030","type":"ColumnDataSource"},{"attributes":{"fill_alpha":{"value":0.2},"fill_color":{"field":"color"},"hatch_alpha":{"value":0.2},"hatch_color":{"field":"color"},"line_alpha":{"value":0.2},"line_color":{"value":"#000000"},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"1034","type":"Patches"},{"attributes":{"coordinates":null,"data_source":{"id":"1044"},"glyph":{"id":"1046"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"1048"},"nonselection_glyph":{"id":"1047"},"view":{"id":"1050"}},"id":"1049","type":"GlyphRenderer"},{"attributes":{"axis":{"id":"1016"},"coordinates":null,"dimension":1,"grid_line_color":null,"group":null,"ticker":null},"id":"1019","type":"Grid"},{"attributes":{},"id":"1071","type":"UnionRenderers"},{"attributes":{"data":{"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"x0":{"__ndarray__":"AAAAAPB2+0AAAAAA2IL8QAAAAAAQnPpAAAAAALje+0AAAAAAqBP+QAAAAAB4jf1AAAAAAAjW/EAAAAAAOFX6QAAAAAAgQf1AAAAAAKjI+UAAAAAAcCP7QAAAAACgLPxAAAAAAEgJ/UAAAAAAEO36QAAAAADAz/pAAAAAACDz+UAAAAAAoBb6QAAAAAAYd/lAAAAAAGBH/kAAAAAAWMT9QAAAAADo0/1AAAAAANCL+UAAAAAAUEH8QAAAAADQYf1AAAAAAOgN/EAAAAAAWAL7QA==","dtype":"float64","order":"little","shape":[26]},"x1":{"__ndarray__":"AAAAAPB2+0AAAAAA2IL8QAAAAAAQnPpAAAAAALje+0AAAAAAqBP+QAAAAAB4jf1AAAAAAAjW/EAAAAAAOFX6QAAAAAAgQf1AAAAAAKjI+UAAAAAAcCP7QAAAAACgLPxAAAAAAEgJ/UAAAAAAEO36QAAAAADAz/pAAAAAACDz+UAAAAAAoBb6QAAAAAAYd/lAAAAAAGBH/kAAAAAAWMT9QAAAAADo0/1AAAAAANCL+UAAAAAAUEH8QAAAAADQYf1AAAAAAOgN/EAAAAAAWAL7QA==","dtype":"float64","order":"little","shape":[26]},"y0":{"__ndarray__":"AAAAAAAACEAAAAAAAAAUQAAAAAAAABhAAAAAAAAA8D8AAAAAAAAIQAAAAAAAAABAAAAAAAAA8D8AAAAAAAAQQAAAAAAAAAhAAAAAAAAA8D8AAAAAAAAQQAAAAAAAAAhAAAAAAAAAEEAAAAAAAAAAQAAAAAAAAAhAAAAAAAAAFEAAAAAAAAAIQAAAAAAAAAhAAAAAAAAAAEAAAAAAAADwPwAAAAAAABBAAAAAAAAAAEAAAAAAAAAAQAAAAAAAABRAAAAAAAAAEEAAAAAAAAAUQA==","dtype":"float64","order":"little","shape":[26]},"y1":{"__ndarray__":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwPwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==","dtype":"float64","order":"little","shape":[26]}},"selected":{"id":"1072"},"selection_policy":{"id":"1071"}},"id":"1044","type":"ColumnDataSource"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"field":"color"},"hatch_alpha":{"value":0.1},"hatch_color":{"field":"color"},"line_alpha":{"value":0.1},"line_color":{"value":"#000000"},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"1033","type":"Patches"},{"attributes":{},"id":"1072","type":"Selection"},{"attributes":{"callback":{"id":"1053"}},"id":"1052","type":"TapTool"}],"root_ids":["1005"]},"title":"Bokeh Application","version":"2.4.2"}}
</script>
<script type="text/javascript">
(function() {
const fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
const docs_json = document.getElementById('1241').textContent;
const render_items = [{"docid":"7b056ea3-650f-4974-92a5-e4457d88bd64","root_ids":["1005"],"roots":{"1005":"5a1bb891-e904-42e2-ab0d-b20667cc3a2e"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
let attempts = 0;
const timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>