forked from GumusLab/PhosNetVis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
toy-2d.html
1094 lines (942 loc) · 75.8 KB
/
toy-2d.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7ETP8E6M3Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7ETP8E6M3Y');
</script>
<style> body { margin: 0; } </style>
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<script src="https://cdn.jsdelivr.net/npm/force-graph@1.43.0/dist/force-graph.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-quadtree@3.0.1/dist/d3-quadtree.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-force@3.0.0/dist/d3-force.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-bboxCollide@1.0.4/build/d3-bboxCollide.min.js"></script>
<script src="libraries/rainbowvis.js"></script>
<script src="js/hgnc_dict.js"></script>
<script src="js/recordScript.js"></script>
<script src="data/toy-networks.js"></script>
<script src="https://cdn.jsdelivr.net/npm/underscore@1.13.3/underscore-umd-min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/tweakpane@3.0.2/dist/tweakpane.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@tweakpane/plugin-essentials@0.1.5/dist/tweakpane-plugin-essentials.min.js"></script>
<script src="js/fstdropdown.js"></script>
<script src="js/reimg.js"></script>
<script src="libraries/element-resize-detector.min.js"></script>
<link rel="stylesheet" href="css/fstdropdown-2d.css">
<link rel="stylesheet" href="css/visualization.css">
<meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8">
<title>Toy 2D</title>
<style type="text/css">
@font-face {
font-family: "MyriadPro-Regular";
src: url("fonts/MYRIADPROREGULAR.woff") format("woff");
}
@font-face {
font-family: "Century Gothic";
src: url("fonts/CenturyGothic.woff") format("woff");
}
@font-face {
font-family: "CenturyGothicPro";
src: url("fonts/CenturyGothic.woff") format("woff");
}
@font-face {
font-family: "CenturyGothicPro-Bold";
src: url("fonts/CenturyGothic-Bold.woff") format("woff");
}
@font-face {
font-family: "helveticaBold";
src: url("fonts/helvetica-bold-webfont.woff") format("woff");
}
</style>
</head>
<body>
<div id="graph"></div>
<div>
<svg version="1.1" id="Layer_1" onclick="window.location.href = 'index.html'" xmlns="http://www.w3.org/2000/svg" width = "150px" style="top:2%;left:1%;position:absolute;cursor: pointer;z-index:10;" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 710.3 222.4" xml:space="preserve"> <style type="text/css"> .st0b{fill:#424A60;} .st1b{fill:#DC298D;} .st2b{fill:#7383BF;} .st3b{fill:#969696;} .st4b{fill:#EBBA16;} .st5b{fill:#06ABEB;} .st6b{font-family:'helveticaBold';} .st7b{font-size:84.3397px;} .st8b{letter-spacing:-1;} </style> <g id="Layer_1_00000056390415183483724190000009750584087129516189_"> <g id="path5"> <rect x="92.8" y="154.2" transform="matrix(0.3589 -0.9334 0.9334 0.3589 -62.6169 220.6174)" class="st0b" width="72.9" height="3.3"/> </g> <rect id="path4" x="156.9" y="60.1" transform="matrix(0.8102 -0.5861 0.5861 0.8102 0.7614 131.2305)" class="st0b" width="92.3" height="8.7"/> <g id="path3"> <rect x="19" y="127.2" transform="matrix(0.9138 -0.4063 0.4063 0.9138 -46.9835 44.8278)" class="st0b" width="126.2" height="11.8"/> </g> <g id="path2"> <rect x="122.6" y="16.9" transform="matrix(0.9138 -0.4063 0.4063 0.9138 -9.3065 55.4032)" class="st0b" width="6.4" height="65.4"/> </g> <rect id="path1" x="169" y="110.3" transform="matrix(0.9138 -0.4063 0.4063 0.9138 -48.6296 83.9257)" class="st0b" width="8.7" height="92.3"/> <circle id="circle6" class="st1b" cx="249.7" cy="34.5" r="21.8"/> <circle id="circle5" class="st2b" cx="112.1" cy="200.6" r="21.8"/> <circle id="circle4" class="st1b" cx="21.8" cy="156.5" r="21.8"/> <circle id="circle3" class="st3b" cx="109.6" cy="13.1" r="13.1"/> <circle id="circle2" class="st4b" cx="189.6" cy="193.1" r="13.1"/> <circle id="circle1" class="st5b" cx="149.5" cy="102.8" r="37.3"/> </g> <g id="Layer_2_00000013871697503241264390000008040421359665832584_"> <text transform="matrix(1 -3.490651e-03 3.490651e-03 1 243.0089 140.7256)" class="st6b st7b">PhosNet</text> <text transform="matrix(1 -3.490651e-03 3.490651e-03 1 585.1035 139.5315)" class="st6b st7b st8b">V</text> <text transform="matrix(1 -3.490651e-03 3.490651e-03 1 639.8698 139.3403)" class="st6b st7b">is</text> </g> </svg>
</div>
<div class="openbutton" id = "openbutton" value = 0 onclick="hideShowMenu(this.value)" style="cursor: pointer;">
<button class="dropbtn" id="openbutton-button">
<svg xmlns="http://www.w3.org/2000/svg" width="18px" viewBox="0 0 13 16"> <g id="Rectangle_1581" data-name="Rectangle 1581" transform="translate(0 1)" fill="#fff" stroke="#2e3137" stroke-width="1"> <rect width="13" height="13" stroke="none"/> <rect x="0.5" y="0.5" width="12" height="12" fill="none"/> </g> <text id="x" transform="translate(6.5 11)" fill="#9f9f9f" stroke="#2e3137" stroke-width="1" font-size="14" font-family="CenturyGothicPro-Bold, Century Gothic Pro" font-weight="700"><tspan x="-3.92" y="0">x</tspan></text> </svg>
</button>
<div class="openbutton-content" id = "openbutton-content">
</div>
</div>
<div id="nodequeryMain">
<select class='fstdropdown-select' id="nodequery" onchange="updateSearch()" style="margin-top: -100px;">
<option value="">Node Query</option>
</select>
</div>
<div id="infoBox" style="display: none;">
<div id="infoTop">
<p id="nodeName" style="font-family: CenturyGothicPro-Bold; margin:6px;">Node: <a id = "nodehref" href="https://www.w3schools.com" target="_blank" style="color: #00709d;">placeholder1</a> <img style = "width: 20px; margin-bottom: 5px;" src="https://www.phosphosite.org/images/header/logo_psp_white_cp.png"/></p>
<p id = "nodeType" style="font-family: CenturyGothicPro-Bold; margin:6px;">Type: <a id="typetext">placeholder2</a> <a id="activityText">| Activity: </a> <a id="activityNum">**</a></p>
<p style="font-family: CenturyGothicPro-Bold; margin:6px;"> <u>Phosphorylation Info</u> <h style="font-family: CenturyGothicPro-Bold; font-size: 12px;">*(scrollable)</h></p>
</div>
<table id = "phosTable" class="table table-striped table-bordered">
<thead>
<tr>
<th style="background-color:rgba(240, 240, 240, .8);">Site</th>
<th style="background-color:rgba(240, 240, 240, .8)">log2FC</th>
<th style="background-color:rgba(240, 240, 240, .8)">pValue</th>
</tr>
</thead>
<tbody id = "tbody">
</tbody>
</table>
</div>
<div id="guiplace"> </div>
<!-- LEGEND SHAPES -->
<div class="dropdown" id = "dropdown" value = "0" onclick="hideShowLegend(this.value)" style="cursor: pointer;">
<button class="dropbtn" id = "dropbtn">
<svg xmlns="http://www.w3.org/2000/svg" width="20px" viewBox="0 0 13 13"> <g id="Rectangle_1580" data-name="Rectangle 1580" fill="#fff" stroke="#000000" stroke-width="1"> <rect width="13" height="13" stroke="none"/> <rect x="0.5" y="0.5" width="12" height="12" fill="none"/> </g> <g id="Polygon_11" data-name="Polygon 11" transform="translate(11 2) rotate(90)" fill="#9f9f9f"> <path d="M 8.145074844360352 7.5 L 0.8549256324768066 7.5 L 4.5 1.019867777824402 L 8.145074844360352 7.5 Z" stroke="none"/> <path d="M 4.5 2.039735317230225 L 1.709851264953613 7 L 7.290148735046387 7 L 4.5 2.039735317230225 M 4.5 0 L 9 8 L 0 8 L 4.5 0 Z" stroke="none" fill="#000000"/> </g> </svg>
</button>
<div class="dropdown-content" id = "dropdown-content">
<svg xmlns="http://www.w3.org/2000/svg" width="70" viewBox="0 0 75 11">
<text id="hide_legend" data-name="hide legend" transform="translate(30 8)" fill="#5e6365" font-size="12" font-family="CenturyGothicPro, Century Gothic Pro"><tspan x="-29.45" y="0">hide legend</tspan></text>
</svg>
</div>
</div>
<div id="legendPlace">
<svg id = "legend" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="124.5px" viewBox="0 0 108 275">
<defs>
<pattern id="pattern" preserveAspectRatio="xMidYMid slice" width="100%" height="100%" viewBox="0 0 716 152">
<image width="716" height="152" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAswAAACYCAYAAADwUb/SAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tnQlyG8kOREXqH8EH8P3PaEm/sSSAqibtWTwzEvkU4ZBFshdW15LISiQu376/f7zYz+X95XK5+D//8/jbf18/ttfj7/iM/Y6/Xy/x++PjLV6v8+lzfshxvrc6dj1PXO+a5/FT5HXiyLy/43762vaZ+Pv1Je/pmtfJ1+39+b10X30OXbePu3VfdY5sF33v/mxe57jPOPd+n+v9zevbOa7juPU59Hn89ZdoPx1vz2f+ff3Q9ff20DOL51Ntm9/nepw5XtNz39tRx6/X0/UvH/faOZ6bfq75fF7yudjt67rzc+p387v5d375cbP/9eeyP2zPv94/rr9cp9qi+9/t56dG38bJ1t72HKN9c5yc+kH3fzvjtcbS2l/Uv6qf5HjS87H+PseZxke3Qz6/7B/2fOf3Op83rq/xN9tzbS+1r8639ZOtP+p+6/rb+901ot1e64Vux7pX/0/PP/o+MS563O3jd+1Xul/1yX3eWfv3fA52pOa5GifqP5ov87R2P+t9dD+f9612/jjGj7d/fo+XnJbrt/pR3K7/2DH2sv2+HvOwXstmig/leU7nz+P1vj0WP4/P4R/173zebh9dP64b/Vrn8ZVh3J/u+ZLjZd7rvM95/Dyvvmd9j74Nv85LXt/GhV83r6/PZ/PFZ4+fi9q3GvPN36vjsz26tW3uOZrz/c2/4+n+b3x/fWa2k77ffl/9PPPkx3W8PbfnoXVOx+t7V/tu/Ubfs66n/qXnr+eU/UefV3vrvjRtV3+s5/teber3e6fd+/vl/Le34Xge0V69zvnzUv/80J3kdfN5zvuM46MPa95R/7TX65GP/rk/DxuHeq3aetxHXS/vS7OJ9W+/7nh9Hq/Xqz3Gdfy+3nMeq/lgHY/z+c9+Zbgmjt/6d7bjPm66P/Q4nX262n+fP8bc4M+lWnM9j46/N241x+h9my/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7Gkl/2rG8r2GfPsG17SQ7wbtJe2NXxp5Dtff2+pMm/SHJQJKRzDIuGb7zAGBeJRMwzN4e8p/WzlTsUgGYr6eCKADmvbywd6AbPtQKNGZgoaTGPclMn/3nbeVgmGGYYZhhmGGYYZgd5MSCbgUmAvTAMDsg1PgYxq+yj0OSAWAWkNtdGQDMFV/6CHo/7MkAzM1GYiuXNnbZTdQeswDPYrsnWzMxu0fOy3z/6GCxbuWOjs3b91xSYJjXEtfuaqF4/h9yyfg/YdM6+aeKG+IAAAAASUVORK5CYII="/>
</pattern>
<pattern id="pattern-2" preserveAspectRatio="xMidYMid slice" width="100%" height="100%" viewBox="0 0 708 162">
<image width="708" height="162" xlink:href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCACiAsQDASIAAhEBAxEB/8QAGQABAQEBAQEAAAAAAAAAAAAABAMABQIH/8QAGhABAQEBAQEBAAAAAAAAAAAAAAIDMUGBAf/EABwBAAMBAAMBAQAAAAAAAAAAAAIDBAEACAkGB//EABgRAQEBAQEAAAAAAAAAAAAAAAABAgMx/9oADAMBAAIRAxEAPwD5DBEDwRD5x+PQjPhGY+fCM3DoRBEDwRAoZF8ycxsycxw3JGa8IZrw02EQvmhC+bYZkiCJHgiWnZXzIgfMiBGQiPCIHjwiGm5Xz6RA+fSIabkiF80IXzEZF4JgaCYbDYRC+aEL5tNyRHxaEY+LQKGZXkjMeSMxQ6LyRA8kQKGZ9JjhGfB44RnwR2VoJgaCYbDIvmRmPmRm2GZXgiODwRHGmxfMiB8yIEZCIXzQhfNpsIgiODwRHBQyJ2PfpFj36dgcHvo+nSL6Pp1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gt+laC36s5ig2gupWguq3mODaC69K0F16twOC6iaF6iaLeY4NXWausrhkdmCIHgiHm463QjPhGY+fCM3DoRBEDwRAoZF8ycxsycxw3JGa8IZrw02EQvmhC+bYZkiCJHgiWnZXzIgfMiBGQiPCIHjwiGm5Xz6RA+fSIabkiF80IXzEZF4JgaCYbDYRC+aEL5tNyRH1aEY+rQKGZXkjMeSMxQ6LyRA8kQKGZ9JjhGfB44RnwR2VoJgaCYbDIvmRmPmRm2GZXgiODwRHGmxfMiB8yIEZCIXzQhfNpsIgiODwRHBQyJ2PfpFj36dgcHvo+nSL6Pp1ZzaPp6LZWnotrObYPY99Ise+rebRtB9CNB9FeBD6D6cI0H04sw0e+C6lXwXVZhsHvg1k3wa1eBIX6NfSb9Gvqzm2D6D6EaD6LOTYLfR7Ivo9rObYPfR9CL6PorwIW+jaE30bRbgQ+g2pOg2qvDYPY2hNjaLMCG06NfSdOjX1bgUH0FvpWgt9WcxQfQW/StBb9WcxQbQXUrQXVbzHBtBdelaC69W4HBdRNC9RNFvMcGrrNXWVwyO1HhEeMzzcdbovnz8XzZmw6Ex0iOszYZF8yM2YcNyRmRHGZp0Iji0dZmweSY8IjxmbDsr58IjrMIyEQRmzNNyvmRmzNNyvHhGbMIyER0jPxmbDYvmRmzNNyvC8dZhQzK8kZswodF48IjxmFDM+kxwiOMwjsrR0mPGZsMi+ZGbM2GZXjhEcZmw3K8dIjxmGZkiPF82Zw3JEcXjjM2GR4sevWY/A4PffwfTrMs5tH06Lp1mWc2we+/o99ZlnNo2o+nGZZgUH04PpxmV4aPfP0XVmW4bBrQtmWYENY99ZlfNsH0H0ZlnJounR9OsyzmKD6dH1ZleGi6dG1ZluBQextesyvDYPff0bVmWZELp39HvrMtwKD6C31mWcxQfQW/WZZzFBrF1ZlvMcG16Lr1mW4HBdRdWZbzHBa6zMrhkf/2Q=="/>
</pattern>
</defs>
<g id="Path_2281" data-name="Path 2281" fill="#fff" stroke-linecap="round">
<path d="M 88 274.3999938964844 L 20 274.3999938964844 C 17.38075065612793 274.3999938964844 14.84017848968506 273.8871459960938 12.44882106781006 272.8756713867188 C 10.13878536224365 271.8986206054688 8.064000129699707 270.4997253417969 6.282142639160156 268.7178649902344 C 4.500285625457764 266.9360046386719 3.10139274597168 264.8612060546875 2.124321460723877 262.5511779785156 C 1.112857103347778 260.1598205566406 0.6000000238418579 257.6192626953125 0.6000000238418579 255 L 0.6000000238418579 20 C 0.6000000238418579 17.38075065612793 1.112857103347778 14.84017848968506 2.124321460723877 12.44882106781006 C 3.10139274597168 10.13878536224365 4.500285625457764 8.064000129699707 6.282142639160156 6.282142639160156 C 8.064000129699707 4.500285625457764 10.13878536224365 3.10139274597168 12.44882106781006 2.124321460723877 C 14.84017848968506 1.112857103347778 17.38075065612793 0.6000000238418579 20 0.6000000238418579 L 88 0.6000000238418579 C 90.61924743652344 0.6000000238418579 93.15982055664062 1.112857103347778 95.55117797851562 2.124321460723877 C 97.86121368408203 3.10139274597168 99.93599700927734 4.500285625457764 101.7178573608398 6.282142639160156 C 103.4997177124023 8.064000129699707 104.8986053466797 10.13878536224365 105.8756790161133 12.44882106781006 C 106.8871459960938 14.84017848968506 107.4000015258789 17.38075065612793 107.4000015258789 20 L 107.4000015258789 255 C 107.4000015258789 257.6192626953125 106.8871459960938 260.1598205566406 105.8756790161133 262.5511779785156 C 104.8986053466797 264.8612060546875 103.4997177124023 266.9360046386719 101.7178573608398 268.7178649902344 C 99.93599700927734 270.4997253417969 97.86121368408203 271.8986206054688 95.55117797851562 272.8756713867188 C 93.15982055664062 273.8871459960938 90.61924743652344 274.3999938964844 88 274.3999938964844 Z" stroke="none"/>
<path d="M 20 1.20001220703125 C 17.46150207519531 1.20001220703125 14.99953460693359 1.6968994140625 12.68257141113281 2.6768798828125 C 10.44403839111328 3.623748779296875 8.433357238769531 4.979461669921875 6.706390380859375 6.706390380859375 C 4.979461669921875 8.433349609375 3.623748779296875 10.44403076171875 2.676895141601562 12.68258666992188 C 1.696891784667969 14.99954223632812 1.199996948242188 17.46148681640625 1.199996948242188 20 L 1.199996948242188 255 C 1.199996948242188 257.5385131835938 1.696891784667969 260.0004577636719 2.676895141601562 262.3174438476562 C 3.623748779296875 264.5559692382812 4.979461669921875 266.566650390625 6.706390380859375 268.2936096191406 C 8.433357238769531 270.0205383300781 10.44403839111328 271.3762512207031 12.68257141113281 272.3231201171875 C 14.99953460693359 273.3031005859375 17.46150207519531 273.7999877929688 20 273.7999877929688 L 88 273.7999877929688 C 90.53849792480469 273.7999877929688 93.00046539306641 273.3031005859375 95.31742858886719 272.3231201171875 C 97.55596160888672 271.3762512207031 99.56664276123047 270.0205383300781 101.2936096191406 268.2936096191406 C 103.0205383300781 266.566650390625 104.3762512207031 264.5559692382812 105.3231048583984 262.3174438476562 C 106.303108215332 260.0004577636719 106.8000030517578 257.5385131835938 106.8000030517578 255 L 106.8000030517578 20 C 106.8000030517578 17.46148681640625 106.303108215332 14.99954223632812 105.3231048583984 12.68258666992188 C 104.3762512207031 10.44403076171875 103.0205383300781 8.433349609375 101.2936096191406 6.706390380859375 C 99.56664276123047 4.979461669921875 97.55596160888672 3.623748779296875 95.31742858886719 2.6768798828125 C 93.00046539306641 1.6968994140625 90.53849792480469 1.20001220703125 88 1.20001220703125 L 20 1.20001220703125 M 20 0 L 88 0 C 99.04567718505859 0 108 8.954315185546875 108 20 L 108 255 C 108 266.0456848144531 99.04567718505859 275 88 275 L 20 275 C 8.954322814941406 275 0 266.0456848144531 0 255 L 0 20 C 0 8.954315185546875 8.954322814941406 0 20 0 Z" stroke="none" fill="#4e4c4c"/>
</g>
<g id="WhatsApp_Image_2021-01-19_at_20.50.37_1_" data-name="WhatsApp Image 2021-01-19 at 20.50.37 (1)" transform="translate(16.5 29.9)" stroke="#000" stroke-width="1" fill="url(#pattern)">
<rect width="70" height="19" stroke="none"/>
<rect x="0.5" y="0.5" width="69" height="18" fill="none"/>
</g>
<g id="Path_2277" data-name="Path 2277" transform="translate(20.301 101.825)" fill="none">
<path d="M0,0H5.889V5.945H0Z" stroke="none"/>
<path d="M 1 0.9999985694885254 L 1 4.944998264312744 L 4.888999938964844 4.944998264312744 L 4.888999938964844 0.9999985694885254 L 1 0.9999985694885254 M 0 -1.430511474609375e-06 L 5.888999938964844 -1.430511474609375e-06 L 5.888999938964844 5.944998264312744 L 0 5.944998264312744 L 0 -1.430511474609375e-06 Z" stroke="none" fill="#363535"/>
</g>
<g id="Rectangle_1567" data-name="Rectangle 1567" transform="translate(17.893 99.567)" fill="none" stroke="#363535" stroke-width="1" stroke-dasharray="1">
<rect width="10.707" height="10.461" rx="3" stroke="none"/>
<rect x="0.5" y="0.5" width="9.707" height="9.461" rx="2.5" fill="none"/>
</g>
<g id="Path_2278" data-name="Path 2278" transform="translate(75.051 98.66)" fill="none">
<path d="M0,0H12V11.759H0Z" stroke="none"/>
<path d="M 1 0.9999990463256836 L 1 10.75869846343994 L 10.9990406036377 10.75869846343994 L 10.9990406036377 0.9999990463256836 L 1 0.9999990463256836 M 0 -9.5367431640625e-07 L 11.9990406036377 -9.5367431640625e-07 L 11.9990406036377 11.75869846343994 L 0 11.75869846343994 L 0 -9.5367431640625e-07 Z" stroke="none" fill="#363535"/>
</g>
<g id="Rectangle_1568" data-name="Rectangle 1568" transform="translate(69.486 92.693)" fill="none" stroke="#363535" stroke-width="1" stroke-dasharray="1">
<rect width="23.13" height="23.691" rx="3" stroke="none"/>
<rect x="0.5" y="0.5" width="22.13" height="22.691" rx="2.5" fill="none"/>
</g>
<g id="Rectangle_1570" data-name="Rectangle 1570" transform="translate(66.601 89.456)" fill="none" stroke="#363535" stroke-width="1" stroke-dasharray="1">
<rect width="28.9" height="30.166" rx="4" stroke="none"/>
<rect x="0.5" y="0.5" width="27.9" height="29.166" rx="3.5" fill="none"/>
</g>
<g id="WhatsApp_Image_2021-01-19_at_20.50.38" data-name="WhatsApp Image 2021-01-19 at 20.50.38" transform="translate(16.5 158.119)" stroke="#000" stroke-width="1" fill="url(#pattern-2)">
<rect width="70" height="19" stroke="none"/>
<rect x="0.5" y="0.5" width="69" height="18" fill="none"/>
</g>
<line id="Line_189" data-name="Line 189" y1="21" x2="22" transform="translate(16.5 228.675)" fill="none" stroke="#363535" stroke-width="1"/>
<line id="Line_190" data-name="Line 190" y1="21" x2="22" transform="translate(60.262 228.675)" fill="none" stroke="#363535" stroke-width="11"/>
<line id="Line_191" data-name="Line 191" y1="21" x2="22" transform="translate(36.63 228.675)" fill="none" stroke="#363535" stroke-width="5"/>
<text id="Phosphorylation_log_FoldChange_" data-name="Phosphorylation
(log2fc)" transform="translate(51.5 14.9)" font-size="10" font-family="CenturyGothicPro-Bold, Century Gothic Pro" font-weight="700"><tspan x="-41" y="0">Phosphorylation</tspan><tspan font-size="8" font-family="CenturyGothicPro, Century Gothic Pro" font-weight="400"><tspan x="-16.428" y="10">(log2FC)</tspan></tspan></text>
<text id="Node_Size" data-name="Node Size" transform="translate(48.5 85.456)" font-size="10" font-family="CenturyGothicPro-Bold, Century Gothic Pro" font-weight="700"><tspan x="-24.1" y="0">Node Size</tspan></text>
<text id="Edge_Color" data-name="Edge Color" transform="translate(49.607 152.119)" font-size="10" font-family="CenturyGothicPro-Bold, Century Gothic Pro" font-weight="700"><tspan x="-26.9" y="0">Edge Color</tspan></text>
<text id="Edge_Weight" data-name="Edge Weight" transform="translate(51.404 221.675)" font-size="10" font-family="CenturyGothicPro-Bold, Century Gothic Pro" font-weight="700"><tspan x="-30.25" y="0">Edge Weight</tspan></text>
<g id="Rectangle_1572" data-name="Rectangle 1572" transform="translate(15.469 97.159)" fill="none" stroke="#363535" stroke-width="1" stroke-dasharray="1">
<rect width="15.554" height="15.277" rx="3" stroke="none"/>
<rect x="0.5" y="0.5" width="14.554" height="14.277" rx="2.5" fill="none"/>
</g>
<g id="Rectangle_1573" data-name="Rectangle 1573" transform="translate(72.846 95.926)" fill="none" stroke="#363535" stroke-width="1" stroke-dasharray="1">
<rect width="16.41" height="17.227" rx="3" stroke="none"/>
<rect x="0.5" y="0.5" width="15.41" height="16.227" rx="2.5" fill="none"/>
</g>
<g id="Polygon_5" data-name="Polygon 5" transform="translate(59 103) rotate(90)" fill="#fff">
<path d="M 3.065736770629883 2.5 L 0.9342633485794067 2.5 L 2 0.9013950228691101 L 3.065736770629883 2.5 Z" stroke="none"/>
<path d="M 2 0 L 4 3 L 0 3 L 2 0 Z" stroke="none" fill="#363535"/>
</g>
<line id="Line_192" data-name="Line 192" x2="17" transform="translate(39 105)" fill="none" stroke="#363535" stroke-width="1"/>
<g id="Polygon_6" data-name="Polygon 6" transform="matrix(-0.358, 0.934, -0.934, -0.358, 58.388, 110.3)" fill="#fff">
<path d="M 3.065736532211304 2.5 L 0.9342632293701172 2.5 L 1.99999988079071 0.9013950228691101 L 3.065736532211304 2.5 Z" stroke="none"/>
<path d="M 1.99999988079071 0 L 4 3 L -2.384185791015625e-07 3 L 1.99999988079071 0 Z" stroke="none" fill="#363535"/>
</g>
<line id="Line_193" data-name="Line 193" x2="17" transform="matrix(0.934, 0.358, -0.358, 0.934, 39, 105)" fill="none" stroke="#363535" stroke-width="1"/>
<g id="Polygon_7" data-name="Polygon 7" transform="translate(56.953 95.791) rotate(69)" fill="#fff">
<path d="M 3.065761566162109 2.499997138977051 L 0.9342533349990845 2.499997138977051 L 2.000007390975952 0.9013741612434387 L 3.065761566162109 2.499997138977051 Z" stroke="none"/>
<path d="M 2.000007390975952 -2.622604370117188e-06 L 4.000017166137695 2.999997138977051 L -2.384185791015625e-06 2.999997138977051 L 2.000007390975952 -2.622604370117188e-06 Z" stroke="none" fill="#363535"/>
</g>
<line id="Line_194" data-name="Line 194" x2="17" transform="translate(39 104.825) rotate(-21)" fill="none" stroke="#363535" stroke-width="1"/>
</svg>
</div>
<!-- LEGEND NUMBERS -->
<div id = "legendNumbers">
<p id="p1" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:26px; z-index:150; font-size: 20; bottom:220px">–</p>
<p id="p2" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:98px; z-index:150; font-size: 20; bottom:220px">–</p>
<p id="s1" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:26px; z-index:150;font-size: 20; bottom:140px">–</p>
<p id="s2" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:98px; z-index:150;font-size: 20; bottom:140px">–</p>
<p id="c1" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:26px; z-index:150;font-size: 20; bottom:70px">–</p>
<p id="c2" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:98px; z-index:150;font-size: 20; bottom:70px">–</p>
<p id="w1" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:26px; z-index:150;font-size: 20; bottom:-12px">–</p>
<p id="w2" style = "font-family:'CenturyGothicPro-Bold'; position:absolute; right:98px; z-index:150;font-size: 20; bottom:-12px">–</p>
</div>
<!-- LEGEND REMOVERS -->
<div id="legendRemovers">
<div id="nodeColorRemover">
<svg xmlns="http://www.w3.org/2000/svg" width="119px" style="z-index: 151; position: absolute;right: 5px; bottom: 240px;" viewBox="0 0 95 61">
<rect id="Rectangle_1579" data-name="Rectangle 1579" width="95" height="61" rx="15" fill="rgba(255,255,255,0.85)"/>
</svg>
</div>
<div id="nodeSizeRemover">
<svg xmlns="http://www.w3.org/2000/svg" width="119px" style="z-index: 151; position: absolute;right: 5px; bottom: 160px;" viewBox="0 0 95 61">
<rect id="Rectangle_1579" data-name="Rectangle 1579" width="95" height="61" rx="15" fill="rgba(255,255,255,0.85)"/>
</svg>
</div>
<div id="edgeColorRemover">
<svg xmlns="http://www.w3.org/2000/svg" width="119px" style="z-index: 151; position: absolute;right: 5px; bottom: 80px;" viewBox="0 0 95 61">
<rect id="Rectangle_1579" data-name="Rectangle 1579" width="95" height="61" rx="15" fill="rgba(255,255,255,0.85)"/>
</svg>
</div>
<div id="edgeWeightRemover">
<svg xmlns="http://www.w3.org/2000/svg" width="119px" style="z-index: 151; position: absolute;right: 5px; bottom: 10px;" viewBox="0 0 95 61">
<rect id="Rectangle_1579" data-name="Rectangle 1579" width="95" height="61" rx="15" fill="rgba(255,255,255,0.85)"/>
</svg>
</div>
</div>
</div>
<div id = "footer" style="font-family: CenturyGothicPro; z-index: 1000;">
<span style="font-size:0.8vw;color:#6f6f6f;"> Left-click: move, Mouse-wheel: zoom, Double-click on node: node info, Double-click on background: reset view </span>
</div>
<a href="#" id="downloadbtn" style="display: none; width: 0px; height: 0px;"><button> Download Video </button></a>
<script>
/////////////////////////////////////////////////
///// ENTER AND EXIT FULLSCREEN FUNCTIONS //////
///////////////////////////////////////////////
function fullscreen() {
let isInFullScreen = (document.fullscreenElement && document.fullscreenElement !== null) ||
(document.webkitFullscreenElement && document.webkitFullscreenElement !== null) ||
(document.mozFullScreenElement && document.mozFullScreenElement !== null) ||
(document.msFullscreenElement && document.msFullscreenElement !== null);
let docElm = document.documentElement;
if (!isInFullScreen) {
if (docElm.requestFullscreen) {
docElm.requestFullscreen();
} else if (docElm.mozRequestFullScreen) {
docElm.mozRequestFullScreen();
} else if (docElm.webkitRequestFullScreen) {
docElm.webkitRequestFullScreen();
} else if (docElm.msRequestFullscreen) {
docElm.msRequestFullscreen();
}
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.webkitExitFullscreen) {
document.webkitExitFullscreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.msExitFullscreen) {
document.msExitFullscreen();
}
}
}
////////////////////////////////////////////////
// DOUBLE CLICK IMPLEMENTATION FOR NODE CLICK //
////////////////////////////////////////////////
var doubleclick = false
window.addEventListener("dblclick", event => {doubleclick = true})
setInterval(myTimer, 200);
function myTimer() {doubleclick = false}
////////////////////////////////////////////////
// HIDE SHOW LEGEND AND MENU IMPLEMENTATIONS ///
////////////////////////////////////////////////
function hideShowLegend(val){
if(val === 0 || val === undefined){
document.getElementById("legendPlace").style.display = "none";
document.getElementById("legendNumbers").style.display = "none";
document.getElementById("legendRemovers").style.display = "none";
document.getElementById("dropdown").value = 1;
document.getElementById("dropbtn").style.transform = "rotate(180deg)";
document.getElementById("dropdown").style.right = "0px";
document.getElementById("dropdown-content").style.left = "-71px";
document.getElementById("dropdown-content").innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="70" viewBox="0 0 75 11"> <text id="show_legend" data-name="show legend" transform="translate(32 8)" fill="#5e6365" font-size="12" font-family="CenturyGothicPro, Century Gothic Pro"><tspan x="-31.145" y="0">show legend</tspan></text> </svg>'
}
else{
document.getElementById("legendPlace").style.display = "block";
document.getElementById("legendNumbers").style.display = "block";
document.getElementById("legendRemovers").style.display = "block";
document.getElementById("dropdown").value = 0;
document.getElementById("dropbtn").style.transform = "rotate(0deg)";
document.getElementById("dropdown").style.right = "85px";
document.getElementById("dropdown-content").style.left = "25px";
document.getElementById("dropdown-content").innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="70" viewBox="0 0 75 11"> <text id="hide_legend" data-name="hide legend" transform="translate(30 8)" fill="#5e6365" font-size="12" font-family="CenturyGothicPro, Century Gothic Pro"><tspan x="-29.45" y="0">hide legend</tspan></text> </svg>'
}
}
function hideShowMenu(val) {
if(val===0 || val === undefined){
// document.getElementById("nqText").style.display = "none";
document.getElementById("nodequeryMain").style.display = "none";
document.getElementById("openbutton-content").innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="80px" viewBox="0 0 81 11"> <text id="close_controls" data-name="close controls" transform="translate(30 8)" fill="#5e6365" font-size="12" font-family="CenturyGothicPro, Century Gothic Pro"><tspan x="-29.45" y="0">open controls</tspan></text> </svg>';
document.getElementById("openbutton-button").innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20px" viewBox="0 0 13 13"> <g id="Rectangle_1582" data-name="Rectangle 1582" fill="#fff" stroke="#2e3137" stroke-width="1"> <rect width="13" height="13" stroke="none"/> <rect x="0.5" y="0.5" width="12" height="12" fill="none"/> </g> <line id="Line_201" data-name="Line 201" x2="6.5" transform="translate(3.25 4.5)" fill="none" stroke="#2e3137" stroke-width="1.2"/> <line id="Line_202" data-name="Line 202" x2="6.5" transform="translate(3.25 6.5)" fill="none" stroke="#2e3137" stroke-width="1.2"/> <line id="Line_203" data-name="Line 203" x2="6.5" transform="translate(3.25 8.5)" fill="none" stroke="#2e3137" stroke-width="1.2"/> </svg> '
document.getElementById("openbutton").value = 1;
document.getElementById("guiplace").style.display = "none";
}
else{
// document.getElementById("nqText").style.display = "block";
document.getElementById("nodequeryMain").style.display = "block";
document.getElementById("openbutton-content").innerHTML = ''
document.getElementById("openbutton-button").innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20px" viewBox="0 0 13 16"> <g id="Rectangle_1581" data-name="Rectangle 1581" transform="translate(0 1)" fill="#fff" stroke="#2e3137" stroke-width="1"> <rect width="13" height="13" stroke="none"/> <rect x="0.5" y="0.5" width="12" height="12" fill="none"/> </g> <text id="x" transform="translate(6.5 11)" fill="#9f9f9f" stroke="#2e3137" stroke-width="1" font-size="14" font-family="CenturyGothicPro-Bold, Century Gothic Pro" font-weight="700"><tspan x="-3.92" y="0">x</tspan></text> </svg>'
document.getElementById("openbutton").value = 0;
document.getElementById("guiplace").style.display = "block";
}
}
/////////////////////////////////////////
////////// DATA CREATION ///////////////
///////////////////////////////////////
var file_names = ["Minimal", "Phosphorylation", "Partitions", "Full"]
var index = sessionStorage.getItem("toyidx")
if(index == undefined || index == null){
index = 0
}
var finalDataObj = null
if(index==0){finalDataObj = network_minimal }
else if(index==1){finalDataObj = network_phosphorylation}
else if(index==2){finalDataObj = network_partitions}
else if(index==3){finalDataObj = network_full}
function thresholdDecider(DataObj){ // may consider adding rectangleCollide = d3.bboxCollide here
let nodeSizes = (DataObj["nodes"].map(el => el.nodeSize)).filter(x => x != undefined)
let nodeColors = ((DataObj["nodes"].map(el => el.nodeColors)).flat()).filter(x => x != undefined)
let nodeSizeRange = [Math.min.apply(Math, nodeSizes), Math.max.apply(Math, nodeSizes)]
let nodeColorRange = [Math.min.apply(Math, nodeColors), Math.max.apply(Math, nodeColors)]
let nodeColorThreshold = null
if (nodeColorRange[0] != undefined && nodeColorRange[1] != undefined){
let minPositive = 0
let maxPositive = 0
nodeColorRange[0]<0 ? minPositive = - nodeColorRange[0] : minPositive = nodeColorRange[0]
nodeColorRange[1]<0 ? maxPositive = - nodeColorRange[1] : maxPositive = nodeColorRange[1]
minPositive>maxPositive ? nodeColorThreshold = minPositive : nodeColorThreshold = maxPositive
}
let edgeWeights = (DataObj["links"].map(el => el.edgeWeight)).filter(x => x != undefined)
let edgeColors = (DataObj["links"].map(el => el.edgeColor)).filter(x => x != undefined)
let edgeWeightRange = [Math.min.apply(Math, edgeWeights), Math.max.apply(Math, edgeWeights)]
let edgeColorRange = [Math.min.apply(Math, edgeColors), Math.max.apply(Math, edgeColors)]
return {"nodeSizes":nodeSizes, "nodeColors":nodeColors, "nodeSizeRange":nodeSizeRange, "nodeColorRange":nodeColorRange, "nodeColorThreshold":nodeColorThreshold, "edgeWeights":edgeWeights, "edgeColors":edgeColors, "edgeWeightRange":edgeWeightRange, "edgeColorRange":edgeColorRange}
}
// cross-linking the node objects
finalDataObj.links.forEach(link => {
const a = (finalDataObj.nodes.filter(x => x.id === link.source))[0]
const b = (finalDataObj.nodes.filter(x => x.id === link.target))[0]
!a.neighbors && (a.neighbors = []);
!b.neighbors && (b.neighbors = []);
a.neighbors.push(b);
b.neighbors.push(a);
!a.links && (a.links = []);
!b.links && (b.links = []);
a.links.push(link);
b.links.push(link);
});
/////////////////////////////////////////
////////// GRAPH CREATION //////////////
///////////////////////////////////////
var thresholds = thresholdDecider(finalDataObj)
var [nodeSizes, nodeColors, nodeSizeRange, nodeColorRange, nodeColorThreshold, edgeWeights, edgeColors, edgeWeightRange, edgeColorRange] = [thresholds["nodeSizes"], thresholds["nodeColors"], thresholds["nodeSizeRange"], thresholds["nodeColorRange"], thresholds["nodeColorThreshold"], thresholds["edgeWeights"],thresholds["edgeColors"],thresholds["edgeWeightRange"],thresholds["edgeColorRange"]]
var nodesList = finalDataObj["ids"]
var rectangleCollide = d3.bboxCollide([[-13,-18],[13,18]]) // need to update with max nodsize!
const searchNodes = new Set();
const searchLinks = new Set();
const regex = new RegExp('[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2}')
const Graph = ForceGraph()
(document.getElementById('graph'))
.nodeCanvasObject((node, ctx) => {
if(PARAMS.Phosphorylation === "Hide" && !(searchNodes.has(node))){
var nsize = normalized(node.nodeSize, nodeSizeRange, [0, 5])/2
if(isNaN(nsize) == true){nsize = 1.5}
var labelMargin = 6 + nsize/2
if(node.type == "1"){
labelMargin = 10.5 + nsize*2
ctx.fillStyle = '#f5aa3b';
ctx.beginPath();
ctx.moveTo(node.x, node.y - 8 - nsize*2);
ctx.lineTo(node.x - 5 - nsize, node.y - 1.5 - nsize);
ctx.lineTo(node.x + 5 + nsize, node.y - 1.5 - nsize);
ctx.fill();
}
ctx.fillStyle = '#cccccc';
ctx.fillRect(node.x - 5 - nsize, node.y - 1.5 - nsize, 10 + nsize * 2, 3 + nsize * 2);
if (PARAMS.Labels == "On"){
const label = node.id;
var fontSize = 6;
ctx.font = `bold ${fontSize}px Arial`;
const textWidth = ctx.measureText(label).width;
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillStyle = '#303030'
ctx.fillText(label, node.x, node.y-labelMargin);
}
}
else{
var nsize = normalized(node.nodeSize, nodeSizeRange, [0, 5])/2
if(isNaN(nsize) == true){nsize = 1.5}
var labelMargin = 6 + nsize/2
if(node.type == "1"){
labelMargin = 10.5 + nsize*2
ctx.fillStyle = '#cccccc';
if(node.kinaseActivity != 0 && node.kinaseActivity != undefined){
ctx.fillStyle = nodeColoring(node.kinaseActivity);
}
ctx.beginPath();
ctx.moveTo(node.x, node.y - 8 - nsize*2);
ctx.lineTo(node.x - 5 - nsize, node.y - 1.5 - nsize);
ctx.lineTo(node.x + 5 + nsize, node.y - 1.5 - nsize);
ctx.fill();
}
var arrayLength = node.nodeColors.length;
if (arrayLength == 0 || arrayLength == undefined){
ctx.fillStyle = '#cccccc';
ctx.fillRect(node.x - 5 - nsize, node.y - 1.5 - nsize, 10 + nsize * 2, 3 + nsize * 2);
}
else{
const partitionNum = 5
arrayLength = arrayLength >= partitionNum ? partitionNum : arrayLength;
for (var i = 0; i < arrayLength; i++) {
ctx.fillStyle = nodeColoring(node.nodeColors[i]);
ctx.fillRect(node.x - 5 - nsize, (node.y - 1.5 - nsize) + i*(3+nsize*2), 10 + nsize*2, 3 + nsize*2);
if (PARAMS.Labels == "On" || searchNodes.has(node)){
var partitionLabel = node.partitionIDs[i];
if (partitionLabel != "--"){
var fontSize = 2.5 + nsize;
ctx.font = `${fontSize}px Arial`;
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillStyle = "white";
ctx.strokeStyle = "black";
ctx.lineWidth = 0.25;
ctx.strokeText(partitionLabel, node.x, node.y + i*(3+nsize*2))
ctx.fillText(partitionLabel, node.x, node.y + i*(3+nsize*2));
}
}
}
}
if (PARAMS.Labels == "On" || searchNodes.has(node)){
const label = node.id;
var fontSize = 6;
ctx.font = `bold ${fontSize}px Arial`;
const textWidth = ctx.measureText(label).width;
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillStyle = '#303030'
ctx.fillText(label, node.x, node.y-labelMargin);
}
}})
.nodePointerAreaPaint(nodePaint)
.onNodeDragEnd(node => {
node.fx = node.x;
node.fy = node.y;
})
.nodeLabel('id')
.onNodeClick(node => {
if(doubleclick){
Graph.centerAt(node.x, node.y, 500);
Graph.zoom(6, 500);
clickedNode = node.id
resetRows();
searchNodes.clear();
searchLinks.clear();
if (node) {
searchNodes.add(node);
node.neighbors.forEach(neighbor => searchNodes.add(neighbor));
node.links.forEach(link => searchLinks.add(link));
addRows(node.partitionIDs, node.nodeColors, node.pValues)
document.getElementById("nodehref").innerHTML = node.id
if(regex.test((node.id).toUpperCase())){
document.getElementById("nodehref").href = "http://www.phosphosite.org/uniprotAccAction?id="+(node.id).toUpperCase()
}
else if (hgnc_dict[(node.id).toUpperCase()] === undefined){
document.getElementById("nodehref").href = "https://www.phosphosite.org/simpleSearchSubmitAction.action?searchStr="+node.id
}
else{
document.getElementById("nodehref").href = "http://www.phosphosite.org/uniprotAccAction?id="+hgnc_dict[(node.id).toUpperCase()]
}
document.getElementById("typetext").innerHTML = node.type === 1 ? "Kinase" : "Substrate"
if(node.type === 1 && node.kinaseActivity != undefined){
document.getElementById("activityText").style.display = "inline"
document.getElementById("activityNum").style.display = "inline"
document.getElementById("activityNum").innerHTML = parseFloat(node.kinaseActivity).toFixed(3)
}
else{
document.getElementById("activityText").style.display = "none"
document.getElementById("activityNum").style.display = "none"
}
document.getElementById("infoBox").style.display = "block";
nodeColorLegend("Show");
updateHighlight()
}
}
})
.linkColor(link => (searchLinks.has(link)) ? linkHighlightColoring(link): (link.edgeColor === undefined) ? "#cccccc" : linkColoring(link.edgeColor, '2c8d5c', '97b8a0', 'd7d6d2', 'bc9bef', '743ed4'))
.linkCurvature('curvature')
.linkWidth(link => (searchLinks.has(link)) ? 2 : (edgeWeightRange[0]!= undefined && link.edgeWeight != undefined) ? normalized(link.edgeWeight, edgeWeightRange, [0.5,3]) : .8) // subject to change
.linkDirectionalArrowRelPos(0.5)
.linkDirectionalArrowLength(5)
.linkDirectionalParticles(link => (searchLinks.has(link)) ? 4 : 0)
.onBackgroundClick(undefined=>{if(doubleclick){queryReset()}})
.graphData(finalDataObj);
Graph.d3Force('collide', rectangleCollide);
Graph.d3Force('charge').strength(-70);
Graph.zoom(1.2)
elementResizeDetectorMaker().listenTo(
document.getElementById('graph'),
el => {
Graph.width(el.offsetWidth)
Graph.height(el.offsetHeight)
}
);
/////////////////////////////////////////
////////// COLORING ////////////////////
///////////////////////////////////////
function nodePaint(node, color, ctx) {
if(PARAMS.Phosphorylation === "Hide" && !(searchNodes.has(node))){
var nsize = normalized(node.nodeSize, nodeSizeRange, [0, 5])/2
if(isNaN(nsize) == true){nsize = 1.5}
ctx.fillStyle = color
if(node.type=="1"){
ctx.beginPath();
ctx.moveTo(node.x, node.y - 8 - nsize*2);
ctx.lineTo(node.x - 5 - nsize, node.y - 1.5 - nsize);
ctx.lineTo(node.x + 5 + nsize, node.y - 1.5 - nsize);
ctx.fill();
}
ctx.fillRect(node.x - 5 - nsize, node.y - 1.6 - nsize, 10 + nsize * 2, 3.1 + nsize * 2)
}
else{
var nsize = normalized(node.nodeSize, nodeSizeRange, [0, 5])/2
if(isNaN(nsize) == true){nsize = 1.5}
ctx.fillStyle = color
if(node.type=="1"){
ctx.beginPath();
ctx.moveTo(node.x, node.y - 8 - nsize*2);
ctx.lineTo(node.x - 5 - nsize, node.y - 1.5 - nsize);
ctx.lineTo(node.x + 5 + nsize, node.y - 1.5 - nsize);
ctx.fill();
}
var arrayLength = node.nodeColors.length;
if (arrayLength == 0 || arrayLength == undefined){
ctx.fillRect(node.x - 5 - nsize, node.y - 1.6 - nsize, 10 + nsize * 2, 3.1 + nsize * 2);
}
else{
const partitionNum = 5
arrayLength = arrayLength >= partitionNum ? partitionNum : arrayLength;
for (var i = 0; i < arrayLength; i++) {
ctx.fillRect(node.x - 5 - nsize, (node.y - 1.6 - nsize) + i*(3+nsize*2), 10 + nsize*2, 3.1 + nsize*2);
}
}
}
}
function normalized(value, actual_bounds, desired_bounds) {
return (desired_bounds[0] + (value - actual_bounds[0]) * (desired_bounds[1] - desired_bounds[0]) / (actual_bounds[1] - actual_bounds[0]))
}
function nodeColoring (l2fc_value) {
if(l2fc_value === "kinase"){
return "#f5aa3b"
}
if (nodeColorRange[0] != undefined && nodeColorRange[1] != undefined){
let threshold_max = PARAMS.PosL2FC
let threshold_min = PARAMS.NegL2FC
let rainbow = new Rainbow();
nodeColorThreshold > 3 ? rainbow.setNumberRange(-3, 3) : rainbow.setNumberRange(-nodeColorThreshold, nodeColorThreshold)
rainbow.setSpectrum('2600e6', '2A00FF', '5533FF', '7F66FF', 'AA99FF', 'D4CCFF', 'cccccc', 'FFCCDD', 'FF99BB', 'FF6699', 'FF3377', 'FF0055', 'CC0044');
if ((l2fc_value >= threshold_min && l2fc_value <= threshold_max) || l2fc_value === "null") {
return "#cccccc"
}
else{
let hexColour = rainbow.colourAt(l2fc_value);
let stringColor = '#' + hexColour
return stringColor
}
}
}
function linkColoring (value, color1, color2, color3, color4, color5) {
if (edgeColorRange[0] != undefined && edgeColorRange[1] != undefined){
let rainbow = new Rainbow();
rainbow.setNumberRange(-2, 2);
value = normalized(value,edgeColorRange,[-2,2])
rainbow.setSpectrum(color1, color2, color3, color4, color5)
let hexColour = '#' + rainbow.colourAt(value);
return hexColour
}
}
function linkHighlightColoring(link){
var highlightVal = link.source.kinaseActivity
if(highlightVal != undefined){
return nodeColoring(highlightVal)
}
else{
return "#fcba03"
}
}
/////////////////////////////////////////////////
///////// LEGEND IMPLEMENTATION /////////////////
/////////////////////////////////////////////////
function nodeColorLegend(phosOption){
if(nodeColorThreshold != null && nodeColorThreshold != Infinity && nodeColorThreshold != NaN && phosOption === "Show"){
let nodeColorThresholdL = nodeColorThreshold > 3 ? 3 : nodeColorThreshold
document.getElementById("p1").innerHTML = Number(-nodeColorThresholdL).toFixed(2)
document.getElementById("p2").innerHTML = Number(nodeColorThresholdL).toFixed(2)
document.getElementById("p1").style.bottom ="225px"
document.getElementById("p2").style.bottom = "225px"
document.getElementById("p1").style.right = "85px"
document.getElementById("p2").style.right = "15px"
document.getElementById("p1").style.fontFamily = "CenturyGothicPro"
document.getElementById("p2").style.fontFamily = "CenturyGothicPro"
document.getElementById("p1").style.fontSize = 15
document.getElementById("p2").style.fontSize = 15
document.getElementById("nodeColorRemover").style.display = "none"
}
else{
if(searchNodes.size === 0) {
document.getElementById("p1").innerHTML = "–"
document.getElementById("p2").innerHTML = "–"
document.getElementById("p1").style.bottom ="220px"
document.getElementById("p2").style.bottom = "220px"
document.getElementById("p1").style.right = "98px"
document.getElementById("p2").style.right = "26px"
document.getElementById("p1").style.fontFamily = "CenturyGothicPro-Bold"
document.getElementById("p2").style.fontFamily = "CenturyGothicPro-Bold"
document.getElementById("p1").style.fontSize = 20
document.getElementById("p2").style.fontSize = 20
document.getElementById("nodeColorRemover").style.display = "block"
}
}
}
nodeColorLegend("Show");
function restOfLegends(){
if(nodeSizes.length>0 && nodeSizes.length>0){
document.getElementById("s1").innerHTML = Number(nodeSizeRange[0]).toFixed(2)
document.getElementById("s2").innerHTML = Number(nodeSizeRange[1]).toFixed(2)
document.getElementById("s1").style.bottom = "145px"
document.getElementById("s2").style.bottom = "145px"
document.getElementById("s1").style.right = nodeSizeRange[0]<0 ? "80px":"85px"
document.getElementById("s2").style.right = nodeSizeRange[1]<0 ? "10px":"15px"
document.getElementById("s1").style.fontFamily = "CenturyGothicPro"
document.getElementById("s2").style.fontFamily = "CenturyGothicPro"
document.getElementById("s1").style.fontSize = 15
document.getElementById("s2").style.fontSize = 15
document.getElementById("nodeSizeRemover").style.display = "none"
}
if(edgeColors.length>0 && edgeColors.length>0){
document.getElementById("c1").innerHTML = Number(edgeColorRange[0]).toFixed(2)
document.getElementById("c2").innerHTML = Number(edgeColorRange[1]).toFixed(2)
document.getElementById("c1").style.bottom = "75px"
document.getElementById("c2").style.bottom = "75px"
document.getElementById("c1").style.right = nodeSizeRange[0]<0 ? "80px":"85px"
document.getElementById("c2").style.right = nodeSizeRange[1]<0 ? "10px":"15px"
document.getElementById("c1").style.fontFamily = "CenturyGothicPro"
document.getElementById("c2").style.fontFamily = "CenturyGothicPro"
document.getElementById("c1").style.fontSize = 15
document.getElementById("c2").style.fontSize = 15
document.getElementById("edgeColorRemover").style.display = "none"
}
if(edgeWeights.length>0 && edgeWeights.length>0){
document.getElementById("w1").innerHTML = Number(edgeWeightRange[0]).toFixed(2)
document.getElementById("w2").innerHTML = Number(edgeWeightRange[1]).toFixed(2)
document.getElementById("w1").style.bottom = "-5px"
document.getElementById("w2").style.bottom = "-5px"
document.getElementById("w1").style.right = edgeWeightRange[0]<0 ? "80px":"85px"
document.getElementById("w2").style.right = edgeWeightRange[1]<0 ? "10px":"15px"
document.getElementById("w1").style.fontFamily = "CenturyGothicPro"
document.getElementById("w2").style.fontFamily = "CenturyGothicPro"
document.getElementById("w1").style.fontSize = 15
document.getElementById("w2").style.fontSize = 15
document.getElementById("edgeWeightRemover").style.display = "none"
}
}
restOfLegends()
/////////////////////////////////////////
////////// GUI CONTROLS ////////////////
////////////////////////////////////////
const fnames = {};
for (const key of file_names) {
fnames[key] = key;
}
const PARAMS = {
Network: file_names[index],
PosL2FC : 0,
NegL2FC : 0,
Background : "#ffffff",
Phosphorylation: "Show",
Labels: "Off"
};
const phosOpt = ["Hide", "Show"];
const labelOpt = ["On", "Off"];
const pane = new Tweakpane.Pane({
container: document.getElementById('guiplace'),
});
pane.registerPlugin(TweakpaneEssentialsPlugin);
const tab = pane.addTab({
pages: [
{title: 'Controls'},
{title: 'Record'}
],
});
tab.pages[0].addInput(PARAMS, 'Network', {options: fnames, label: 'Network'}).on('change', (ev) => {
changeState();
});
tab.pages[0].addInput(PARAMS, 'PosL2FC', {min: 0, max: nodeColorThreshold, label: 'Pos-Log2FC'}).on('change', (ev) => {
updateHighlight();
});
tab.pages[0].addInput(PARAMS, 'NegL2FC', {min: -nodeColorThreshold, max: 0, label: 'Neg-Log2FC'}).on('change', (ev) => {
updateHighlight();
});
tab.pages[0].addInput(PARAMS, 'Background').on('change', (ev) => {
updateBackground();
});
tab.pages[0].addInput(PARAMS, 'Phosphorylation', {
view: 'radiogrid',
groupName: 'Phosphorylation',
size: [2, 1],
cells: (x, y) => ({
title: phosOpt[y * 3 + x],
value: phosOpt[y * 3 + x],
}),
label: 'Partitions',
}).on('change', (ev) => {
nodeColorLegend(PARAMS.Phosphorylation);
Graph.nodeCanvasObject(Graph.nodeCanvasObject())
});
tab.pages[0].addInput(PARAMS, 'Labels', {
view: 'radiogrid',
groupName: 'Labels',
size: [2, 1],
cells: (x, y) => ({
title: labelOpt[y * 3 + x],
value: labelOpt[y * 3 + x],
}),
label: 'Labels',
}).on('change', (ev) => {
updateHighlight()
});
tab.pages[0].addButton({title: 'Enter/Exit Fullscreen'}).on('click',()=>{
fullscreen();
});
tab.pages[0].addButton({title: 'Take a screenshot'}).on('click',()=>{
snapshot();
});
tab.pages[0].addButton({title: 'Reset'}).on('click',()=>{
queryReset();
});
tab.pages[0].addSeparator();
tab.pages[0].addSeparator();
tab.pages[0].addButton({title: 'Switch to 3D'}).on('click',()=>{
window.location.href = 'toy-vis.html'
});
const f2 = tab.pages[1].addFolder({
title: 'Screen Record',
});
const startRecord = f2.addButton({title: 'Start Recording ▶',disabled: false})
const stopRecord =f2.addButton({title: 'Stop Recording ❚❚', disabled: true})
f2.addSeparator();
const downloadRecord = f2.addButton({title: 'Download Recording ↴', disabled: true})
startRecord.on('click', () => {
stopRecord.disabled = !stopRecord.disabled;
startRecord.disabled = !startRecord.disabled;
startRecording()
if(!downloadRecord.disabled){
downloadRecord.disabled = !downloadRecord.disabled;
}
});
stopRecord.on('click', () => {
stopRecord.disabled = !stopRecord.disabled;
startRecord.disabled = !startRecord.disabled;
stopScreen()
downloadRecord.disabled = !downloadRecord.disabled;
});
downloadRecord.on('click', () => {
downloadRecord.disabled = !downloadRecord.disabled;
downloadVideo()
});
/////////////////////////////////////////////////
////////////// UPDATE FUNCTIONS /////////////////
/////////////////////////////////////////////////
function updateBackground() {
Graph
.backgroundColor(PARAMS.Background)
}
function changeState(){
let new_file_name = PARAMS.Network
sessionStorage.setItem('toyidx',file_names.indexOf(new_file_name))
location.reload();
}
function cloneCanvas(oldCanvas) {
//create a new canvas
var newCanvas = document.createElement('canvas');
var context = newCanvas.getContext('2d');
//set dimensions
newCanvas.width = oldCanvas.width;
newCanvas.height = oldCanvas.height;
//apply the old canvas to the new one
context.drawImage(oldCanvas, 0, 0);
//return the new canvas
return newCanvas;
}
function snapshot(){
let oldcanvas = document.getElementsByTagName('canvas')[0];
let canvas = cloneCanvas(oldcanvas)
var ctx = canvas.getContext('2d')
ctx.globalCompositeOperation = 'destination-over';
ctx.fillStyle = PARAMS.Background;
ctx.fillRect(-1, -1, canvas.width+10, canvas.height+10);
ctx.fillRect(1, 1, -canvas.width-10, -canvas.height-10);
ctx.fillRect(0, 0, canvas.width+10, -canvas.height-10);
ctx.fillRect(0, 0, -canvas.width-10, canvas.height+10);
ReImg.fromCanvas(canvas).downloadPng();
}
function queryReset(){
clickedNode = null
document.getElementById("nodequery").selectedIndex = 0;
document.getElementById("nodequery").fstdropdown.rebind()
Graph.centerAt(0, 0, 500);
Graph.zoom(1.2, 500);
searchNodes.clear();
searchLinks.clear();
if(PARAMS.Phosphorylation==="Hide"){
nodeColorLegend("Hide");
}
resetRows();
document.getElementById("infoBox").style.display = "none";
updateHighlight()
}
function updateHighlight() {
// trigger update of highlighted objects in scene
Graph
.nodeCanvasObject(Graph.nodeCanvasObject())
.linkDirectionalParticles(Graph.linkDirectionalParticles());
}
function updateSearch() {
resetRows();
let x = document.getElementById("nodequery");
if(x.value === ""){
searchNodes.clear();
searchLinks.clear();
Graph.centerAt(0, 0, 500);
Graph.zoom(1.2, 500);
updateHighlight();
document.getElementById("infoBox").style.display = "none";
clickedNode = null
}
else{
let currentData = Graph.graphData()
let thisNode = currentData["nodes"].filter(ix => ix.id === x.value)[0]
Graph.centerAt(thisNode.x, thisNode.y, 500);
Graph.zoom(6, 500);
searchNodes.clear();
searchLinks.clear();
if (thisNode) {
clickedNode = thisNode.id
searchNodes.add(thisNode);
thisNode.neighbors.forEach(neighbor => searchNodes.add(neighbor));
thisNode.links.forEach(link => searchLinks.add(link));
addRows(thisNode.partitionIDs, thisNode.nodeColors, thisNode.pValues)
document.getElementById("nodehref").innerHTML = thisNode.id
if(regex.test((thisNode.id).toUpperCase())){
document.getElementById("nodehref").href = "http://www.phosphosite.org/uniprotAccAction?id="+(thisNode.id).toUpperCase()
}
else if (hgnc_dict[(thisNode.id).toUpperCase()] === undefined){
document.getElementById("nodehref").href = "https://www.phosphosite.org/simpleSearchSubmitAction.action?searchStr="+thisNode.id
}
else{
document.getElementById("nodehref").href = "http://www.phosphosite.org/uniprotAccAction?id="+hgnc_dict[(thisNode.id).toUpperCase()]
}
document.getElementById("typetext").innerHTML = thisNode.type === 1 ? "Kinase" : "Substrate"
if(thisNode.type === 1 && thisNode.kinaseActivity != undefined){
document.getElementById("activityText").style.display = "inline"
document.getElementById("activityNum").style.display = "inline"
document.getElementById("activityNum").innerHTML = parseFloat(thisNode.kinaseActivity).toFixed(3)
}
else{
document.getElementById("activityText").style.display = "none"
document.getElementById("activityNum").style.display = "none"
}
}