forked from VALIS-software/valis-hpgv
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (23 loc) · 762 Bytes
/
index.html
File metadata and controls
30 lines (23 loc) · 762 Bytes
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
<style>
body {
margin: 0;
}
</style>
<div id="container"></div>
<script src="../../dist/valis-hpgv.js"></script>
<script>
let visualizer = new GenomeVisualizer([
'https://s3-us-west-1.amazonaws.com/valis-file-storage/genome-data/GRCh38.vdna-dir',
'https://s3-us-west-1.amazonaws.com/valis-file-storage/genome-data/GRCh38.92.vgenes-dir',
'https://www.encodeproject.org/files/ENCFF833POA/@@download/ENCFF833POA.bigWig'
]);
let container = document.getElementById('container');
window.addEventListener('resize', update);
function update() {
visualizer.render({
width: window.innerWidth,
height: window.innerHeight
}, container);
}
update();
</script>