-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
114 lines (93 loc) · 3.77 KB
/
index.php
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
<?php
$root_path = "../";
include_once('../header.php');
?>
<div class="container">
<div id="content">
<div class="jumbotron" style="margin-bottom:0px;height:100%">
<div class="container" >
<span id="title_fix"></span>
<p><h2 style="margin-bottom:30px;"> Contact Information for <span style="color:#262626"><strong>DV<span style="color: #ea2f10;">-IMPACT</span></strong></span> database</h2></p><br><br>
<p align="justify"><span style="color:#262626"><strong>DV<span style="color: #ea2f10;">-IMPACT</span></strong></span> is developed at the laboratory of Gary Bader (<a href='baderlab.org'>Bader Lab</a>) at The <a href='http://tdccbr.med.utoronto.ca/'> Donnelly Centre </a> for Cellular + Biomolecular Research (CCBR) at <a href='http://utoronto.ca/'> The University of Toronto</a>.</p>
<p align="justify">The web interface of <span style="color:#262626"><strong>DV<span style="color: #ea2f10;">-IMPACT</span></strong></span> is developed by <a href='mailto:acritsc1@jhu.edu'>Alex Crits-Christoph</a>, Johns Hopkins University, as part of <a href='http://www.google-melange.com/gsoc/homepage/google/gsoc2014'>Google Summer of Code 2014</a>.</p>
<p align="justify">For questions and bugs reporting please contact <a href='mailto:mohamed.attiashahata@utoronto.ca'>Mohamed Helmy</a>, The <a href='http://tdccbr.med.utoronto.ca/'> Donnelly Centre </a> for Cellular + Biomolecular Research (CCBR) at <a href='http://utoronto.ca/'> The University of Toronto</a>. <br></p>
</div>
<div class="container">
<br><br><br><br><br>
<?php
include $root_path. 'footer.php';
?>
</div>
</div>
<script>
$(loadCy = function(){
options = {
name: 'circle',
showOverlay: true,
minZoom: 0.5,
maxZoom: 2,
fit:true,
style: cytoscape.stylesheet()
.selector('node')
.css({
'background-color': '#c4c4c4',
'content': 'data(name)',
'font-family': 'helvetica',
'font-size': 14,
'text-valign': 'center',
'color': '#0b1a1e',
'width': 'mapData(weight, 30, 80, 20, 50)',
'height': 'mapData(height, 0, 200, 10, 45)',
'border-color': '#fff'
})
.selector(':selected')
.css({
'background-color': '#f04124',
'line-color': '#000',
'target-arrow-color': '#000',
'text-outline-color': '#000'
})
.selector('edge')
.css({
'width': 2,
'line-color': 'data(func)',
'line-style': 'data(type)',
'target-arrow-shape': 'triangle'
})
,
elements: {
nodes: [
{
data: { id: 'j', name: 'ProtJ', weight: 65, height: 150 }
},
{
data: { id: 'e', name: 'ProtE', weight: 65, height: 150 }
},
{
data: { id: 'k', name: 'ProtK', weight: 65, height: 150 }
},
{
data: { id: 'g', name: 'ProtG', weight: 65, height: 150 }
}
],
edges: [
{ data: { source: 'j', target: 'e', type: 'dashed', func:'#388f58' } },
{ data: { source: 'j', target: 'k', type: 'dashed', func:'#388f58' } },
{ data: { source: 'j', target: 'g', func:'#388f58', func: '#dc2c0f' } },
{ data: { source: 'e', target: 'j', func:'#39b3d7' } },
{ data: { source: 'e', target: 'k', type: 'dashed', func:'#388f58' } },
{ data: { source: 'k', target: 'j' , func:'#39b3d7'} },
{ data: { source: 'k', target: 'e', type: 'dashed', func: '#dc2c0f' } },
{ data: { source: 'k', target: 'g', type: 'dashed', func: '#dc2c0f' } },
{ data: { source: 'g', target: 'j' , func:'#39b3d7' } }
],
},
ready: function(){
cy = this;
}
};
$('#cy').cytoscape(options);
});
</script>
</body>
</html>