-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo4.html
54 lines (49 loc) · 1.59 KB
/
demo4.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>HeatmapComponent demo 4</title>
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="../build/heatmap-component.css" />
<script src="../build/heatmap-component.js"></script>
<style>
#xindicator {
background-color: #777777;
position: relative;
height: 100%;
left: 0%;
width: 0%;
border-radius: 3px;
}
#yindicator {
background-color: #777777;
position: relative;
width: 100%;
top: 0%;
height: 0%;
border-radius: 3px;
}
</style>
</head>
<body>
<h1>Demo 4</h1>
<p>This demo shows AlphaFold PAE matrix for <span id="uniprot-id">?</span>.</p><span id="error"></span>
<p>Brush selection: <span id="selection"></span></p>
<div style="padding: 15px; background-color: white;">
<div id="xaxis" style="width: 500px; height: 10px; background-color: #dddddd; margin-left: 16px; margin-bottom: 5px;">
<div id="xindicator"></div>
</div>
<div style="display: flex; flex-direction: row;">
<div id="yaxis" style="display: initial; width: 10px; height: 500px; background-color: #dddddd; margin-top: 1px; margin-right: 5px;">
<div id="yindicator"></div>
</div>
<!-- Your visualization will be placed here -->
<div id="app" style="width: 500px; aspect-ratio: 1; border: 1px solid black;"></div>
</div>
<p><a href="../src/heatmap-component/demo.ts">Source code</a></p>
</div>
<script>
HeatmapComponent.demos.demo4('app');
</script>
</body>
</html>