-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomplete_networks.html
163 lines (157 loc) · 7.1 KB
/
complete_networks.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
HSM - PPI Modeling Framework
</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<link rel="stylesheet" href="css/styling.css"></script>
</head>
<body>
<div>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbarCollapsible">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
<img src="assets/branding/symbol_name.png" style='vertical-align:text-top;max-height:20px;'>
</a>
</div>
<div class="collapse navbar-collapse" id="navbarCollapsible">
<ul class="nav navbar-nav">
<li><a href="protein_viewer.html">Domain / Structure View</a></li>
<li><a href="network_visualization.html">Network View</a></li>
<li><a href="#">Network View - Pre-computed</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="data_download.html"><span class="glyphicon glyphicon-download-alt"></span> Data Download</a></li>
<li><a href="https://www.nature.com/nmeth/"><span class="glyphicon glyphicon-list"></span> Background</a></li>
<li><a href="#"><span class="glyphicon glyphicon-home"></span> Home</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="container">
<div class="row">
<div class="col-sm-6 col-6">
<h1 style="margin-top:.5em">Complete Network Visualization</h1>
</div>
<div class="col-sm-3 col-3"></div>
<div class="col-sm-3 col-3">
<a>
<img src="assets/branding/symbol_name.large.png" style='vertical-align:text-top;max-height:75px'></img>
</a>
</div>
</div>
<div class="row">
<div class="col-sm-9 col-9">
<h4>Pre-computed layouts for the complete network at different <span style="text-decoration: underline;" class="clink">Maximal Adjacencies</span>.</h4>
</div>
<div class="col-sm-3 col-3"></div>
</div>
</div>
</div>
<hr/>
<div class="container">
<div class='row'>
<div class='col-sm-2 col-2'>
<h3>Maximal Adjacency</h3>
</div>
<div style='margin-top:2.5em'>
<div class='col-sm-2 col-2'><h5>Domain Composition</h5></div>
<div class='col-sm-3 col-3'>
<div class='btn-group'>
<a role='button' class='btn btn-styled' style='width:50px' onclick="loadDomainAdjacency(50)">50</a>
<a role='button' class='btn btn-styled' style='width:50px' onclick="loadDomainAdjacency(100)">100</a>
<a role='button' class='btn btn-styled' style='width:50px' onclick="loadDomainAdjacency(200)">200</a>
</div>
</div>
<div class='col-sm-2 col-2' align='center'><h5>Peptide Composition</h5></div>
<div class='col-sm-3 col-3'>
<div class='btn-group'>
<a role='button' class='btn btn-styled' style='width:50px' onclick="loadPeptideAdjacency(50)">50</a>
<a role='button' class='btn btn-styled' style='width:50px' onclick="loadPeptideAdjacency(100)">100</a>
<a role='button' class='btn btn-styled' style='width:50px' onclick="loadPeptideAdjacency(200)">200</a>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class='row'>
<div class="col" id="completeGraphContainer">
<img src="assets/paper_elements/precomputed_networks/complete.domain_color.max_50_adj.svg" alt="Loading..." width="100%" height="1000px"/>
</div>
</div>
</div>
<div class="container" id="domainLegendContainer" style="display:block">
<hr>
<div class='row'>
<div class="col-12 col-sm-12" id="completeGraphContainer">
<img src="assets/interaction_data/legend.svg" width="100%"/>
</div>
</div>
<br>
<br>
</div>
<div class="fixed-bottom" style="background-color:#F8F8F8">
<br>
<div class="container" style='margin-top:1.5em'>
<div class="row">
<div class="col-3 col-sm-3">
<img style="max-height:60px;margin-top:10px" src="assets/branding/lsp_logo.png"></img>
<br>
<br>
<img style="max-height:50px;margin-top:10px" src="assets/branding/hms_logo.png"></img>
</div>
<div class="col-5 col-sm-5"></div>
<div class="col-4 col-sm-4" align='right'>
<a class="btn btn-styled" href="protein_viewer.html" role="button" style='width:200px;margin:2px'>Structure View</a>
<br>
<a class="btn btn-styled" href="network_visualization.html" role="button" style='width:200px;margin:2px'>Network View</a>
<br>
<a class="btn btn-styled" href="data_download.html" role="button" style='width:200px;margin:2px'>Data Download</a>
<br>
<a class="btn btn-styled" href="https://www.nature.com/nmeth/" role="button" style='width:200px;margin:2px'>Background</a>
</div>
</div>
<hr>
<div class="row">
<div class='col-6 col-sm-6'>
<p style="margin-bottom:.2em;text-align:left">Funding: <b>U54-CA225088 (NIH), P50-GM107618 (NIH)</b> and <b>W911NF-14-1-0397 (DARPA / DOD)</b></p>
</div>
<div class='col-6 col-sm-6'>
<p style="margin-bottom:0em;text-align:right;">© 2018, Laboratory of Systems Pharmacology. All rights reserved.</p>
</div>
</div>
<br>
</div>
</div>
</body>
<script>
function loadDomainAdjacency(adj) {
console.log("Loading domain stuffs");
console.log(adj);
var graphContainer = document.getElementById("completeGraphContainer");
var newFile = "<img src=\"assets/paper_elements/precomputed_networks/complete.domain_color.max_" + adj + "_adj.svg\" alt=\"Loading...\" width=\"100%\" height=\"100%\"/>"
graphContainer.innerHTML = newFile;
}
function loadPeptideAdjacency(adj) {
console.log("Loading peptide stuffs");
console.log(adj);
var graphContainer = document.getElementById("completeGraphContainer");
var newFile = "<img src=\"assets/paper_elements/precomputed_networks/complete.peptide_color.max_" + adj + "_adj.svg\" alt=\"Loading...\" width=\"100%\" height=\"100%\"/>"
graphContainer.innerHTML = newFile;
}
</script>
</html>