-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataset2-matrix.html
60 lines (53 loc) · 2.16 KB
/
dataset2-matrix.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OntoMapVis - Matrix Dataset2</title>
<!-- <link id="favicon" rel="shortcut icon" href=""/> -->
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- D3.js -->
<script src="https://d3js.org/d3-hierarchy.v1.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<!-- Script -->
<script src="scripts/indented_tree.js"></script>
<script src="scripts/script-alignment.js"></script>
<script src="scripts/matrixMap.js"></script>
<!-- data -->
<script src="data/dataset2/dataset2_ont1.js"></script>
<script src="data/dataset2/dataset2_ont2.js"></script>
<script src="data/dataset2/dataset2_map_modified.js"></script>
<script>
const dataset2 = {
domain: 'human anatomy',
ont1: human,
ont2: mouse,
maps: mapping_human_mouse
};
setDataset(dataset2);
</script>
<!-- CSS -->
<link rel="stylesheet" href="styles/style.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body class="text-unselectable">
<div class="content container-fluid py-2">
<div class="mb-2">
<span class="h3 align-bottom">Dataset2 Matrix mapping</span>
</div>
<div class="svgdiv" id="matrix-svgdiv">
<!-- svg for matrix mapping -->
<svg class="mapsvg" id="matrix-svg" width="800" height="600">
<defs>
<pattern id="pattern-dot" x="0" y="0" width="4" height="4" patternUnits="userSpaceOnUse">
<rect x="0" y="0" width="4" height="4" fill="white"/>
<rect id="pattern-dot-rect" x="0" y="0" width="2.5" height="2.5" fill="red"/>
</pattern>
</defs>
</svg>
</div>
</div>
</body>
</html>