-
Notifications
You must be signed in to change notification settings - Fork 65
/
index.html
269 lines (211 loc) · 9.3 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>UpSet</title>
<script src="google-analytics.js"></script>
<script src="lib/d3.v3.js" charset="utf-8"></script>
<script src="lib/colorbrewer.js" charset="utf-8"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/html_styles.css">
<link rel="stylesheet" type="text/css" href="css/set_view.css">
<link rel="stylesheet" type="text/css" href="css/element_view.css">
<link rel="stylesheet" type="text/css" href="lib/fontawesome/css/font-awesome.min.css">
<!-- Fav and touch icons -->
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/>
<link rel="apple-touch-icon" href="images/shield.gif"/>
</head>
<body class="upset-body">
<div class="ui-header">
<div class="header-container">
<span class="header">UpSet - Visualizing Intersecting Sets</span>
<span id="data-loading-indicator">
<i class="fa fa-refresh fa-spin"></i>
</span>
<span class="header-right-clickable"><a href="https://github.com/hms-dbmi/UpSetR/">UpSet for R</a></span>
<span class="header-right-clickable"><a href="http://caleydo.org/tools/upset/">About UpSet</a></span>
<span id="load-data-header" class="header-right-clickable">Load Data</span>
<span id="dataset-selector" class="header-right"></span>
</div>
</div>
<div class="ui-menu">
<div class="menu-container">
<span>Provide a <a href="https://github.com/VCG/upset/wiki/Data-Import">JSON file</a> defining your data: <input
id="custom-dataset-url"
type="text" style="width: 500px"
value="https://dl.dropboxusercontent.com/u/36962787/UpSet/movies.json"/> <input id="custom-dataset-submit"
type="submit"
value="Submit"> | <a
href="https://github.com/VCG/upset/wiki/">Learn how to create the JSON file</a></span>
</div>
</div>
<div class="ui-fader">
</div>
<div class="ui-container">
<div class="ui-row">
<!--------------- Left Side configuration menu ------------------>
<div class="ui-column ui-layout-west" style="width:120px;">
<div id="groupConfig" class="configTable">
<div class="configHeader">First, aggregate by</div>
<div id="firstLevelGrouping"></div>
<div id='firstLevelMinCardinality' style="padding-top: 5px;" hidden>overlap degree:<br/> <input
id='firstLevelMinCardinalityInput' type='number' min='0' max='12' value='0'>
</div>
</div>
<div id="groupL2Config" class="configTable">
<div class="configHeader">Then, aggregate by</div>
<div id="secondLevelGrouping"></div>
<div id='secondLevelMinCardinality' style="padding-top: 5px;" hidden>overlap degree:<br/> <input
id='secondLevelMinCardinalityInput' type='number' min='0' max='12' value='0'>
</div>
</div>
<div id="sortConfig" class="configTable">
<div class="configHeader"> Sort by</div>
<div><input type='radio' id='sortNrSetsInIntersection' name='sort' checked="true">
<label for="sortNrSetsInIntersection">Degree</label></div>
<div><input type='radio' id='sortIntersectionSize' name='sort'><label for="sortIntersectionSize">
Cardinality</label></div>
<div><input type='radio' id="sortRelevanceMeasure" name='sort'>
<label for="sortRelevanceMeasure"> Deviation</label></div>
</div>
<div id='options' class='configTable'>
<div class="configHeader">Aggregates</div>
<div><span class="option level-1-button" id="collapseAll">Collapse All</span></div>
<div><span class="option level-1-button" id="expandAll">Expand All</span></div>
</div>
<div id='rowSize' class='configTable'>
<div class="configHeader">Row Height</div>
<div>
<select id='rowSizeValue'>
<option value="20">Large</option>
<option value="15">Medium</option>
<option value="12">Small</option>
</select>
</div>
</div>
<div id='intersectionSize' class='configTable'>
<div class="configHeader">Data</div>
<div>Min Degree:<br/> <input id='minCardinality' type='number' min='0' max='12' value='0'>
</div>
<div>Max Degree:<br/><input id='maxCardinality' type='number' min='0' max='12'></div>
<div><input type='checkbox' id='hideEmpties' checked='true'><label for="hideEmpties">Hide Empty
Intersections</label></div>
</div>
<div id='venn-diagram-viewer' class='configTable'>
<div class="configHeader">Venn Diagram</div>
<div id="venn-vis"></div>
</div>
<div id='dataset-info-viewer'>
<div class="configH1">Dataset Information</div>
<div id='dataset-info-content'>Was</div>
</div>
</div>
<!---------------center panel with set view ------------------>
<!--padding: 0px;-->
<div class="ui-column ui-layout-center">
<div id="set-vis-container" data-height-ratio="1" class="fixed-y-container">
<!--<div class="matrixTableContainer">-->
<div style="display: table;">
<div style="display: table-row;">
<div style="display: table-cell">
<div id="headerVis">
<!--style="width:200px"-->
</div>
</div>
</div>
<div style="display: table-row">
<div style="display: table-cell">
<div id="bodyVis">
<!--style="height:300px; width:200px"-->
</div>
</div>
</div>
</div>
<!--</div>-->
<!--<div id="vis"></div>-->
</div>
</div>
<!---------------right panel with element view ------------------>
<div class="ui-column ui-layout-east">
<span id="moveHandle"></span>
<div class="element-view-header">
<div class="element-view-title">
Element Visualizations
</div>
</div>
<div id="element-viewers-container" class="element-view-container">
<div id="element-viewers-visualization"></div>
<div id="element-viewers-controls" class="element-view-controls"></div>
</div>
<div class="element-view-header">
<div class="element-view-title">
Element Queries
</div>
</div>
<div id="selection-vis-container" class="element-view-container">
<div id="selection-tabs"></div>
<div id="selection-controls" class="element-view-controls"></div>
</div>
<div class="element-view-header">
<div class="element-view-subtitle">
Query Filters
</div>
</div>
<div id="filters-container" class="element-view-container">
<div id="filters-list"></div>
<div id="filters-controls" class="element-view-controls"></div>
</div>
<div class="element-view-header">
<div class="element-view-subtitle">
Query Results
</div>
</div>
<div id="item-table-container" data-height-ratio="1" class="fixed-y-container element-view-container">
<div id="item-table"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="event-manager.js"></script>
<script type="text/javascript" src="venn.js"></script>
<script type="text/javascript" src="utilities.js"></script>
<script type="text/javascript" src="attribute.js"></script>
<script type="text/javascript" src="lib/d3.layout.cloud.js"></script>
<script type="text/javascript" src="viewer/word-cloud.js"></script>
<script type="text/javascript" src="viewer/scatterplot.js"></script>
<script type="text/javascript" src="viewer/histogram.js"></script>
<script type="text/javascript" src="viewer/variant-frequency.js"></script>
<script type="text/javascript" src="element-viewer.js"></script>
<script type="text/javascript" src="dataLoading.js"></script>
<script type="text/javascript" src="filter.js"></script>
<script type="text/javascript" src="selection.js"></script>
<script type="text/javascript" src="dataStructure.js"></script>
<script type="text/javascript" src="ui.js"></script>
<script type="text/javascript" src="setSelection.js"></script>
<script type="text/javascript" src="sort.js"></script>
<script type="text/javascript" src="highlight.js"></script>
<script type="text/javascript" src="scrollbar.js"></script>
<script type="text/javascript" src="items.js"></script>
<script type="text/javascript" src="setGrouping.js"></script>
<script type="text/javascript" src="logicPanel.js"></script>
<script type="text/javascript" src="brushableScale.js"></script>
<script type="text/javascript" src="statisticGraphs.js"></script>
<script type="text/javascript" src="upset.js"></script>
<script>
$(document).ready(function () {
UpSet();
ui = new Ui();
$(window).resize(ui.resize);
$(EventManager).bind("ui-resize", function (event, data) {
ui.updateFixedHeightContainers();
});
$(EventManager).bind("ui-vertical-resize", function (event, data) {
ui.updateFixedHeightContainers();
});
$(EventManager).bind("ui-horizontal-resize", function (event, data) {
// nothing so far
});
});
</script>
</body>
</html>