-
Notifications
You must be signed in to change notification settings - Fork 1
/
treeclus.html
76 lines (68 loc) · 2.04 KB
/
treeclus.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
<!DOCTYPE html>
<html>
<script src="js/jquery-1.10.2.js"></script>
<script src="js/d3.v3.min.js"></script>
<link rel="stylesheet" href="css/jquery-ui.css">
<script src="js/jquery-ui.js"></script>
<script src="js/parser.js"></script>
<script src="js/treeclus.v1.min.js"></script>
<link rel="stylesheet" href="css/cluscss.css" />
<body>
<h1>TreeClus</h1>
<div id="alinea"> </div>
<div id="tree-container"></div>
<div id="alineax" style="visibility: hidden;"> </div>
<button id="btnshow" class="button">Menu ⇳</button>
<div class="module1" id="hiddin" style="visibility: visible;">
<button id="btnSubmitm" class="button">Cluster</button>
<button id="btnSubmitm1" class="button">Build Tree</button>
<button id="btnSubmitm2" class="button">Table</button>
<button id="btnSubmitm3" class="button">Min Graph</button>
<button id="btnSubmitm4" class="button">High Div</button>
<button id="btnSubmitm5" class="button">Back</button>
</div>
<div id="charto"> </div>
<div id="legend"></div>
<div id="charto2"> </div>
<div id="charto3"> </div>
<div id="alinea1">
<table id="thetable">
<tr>
<th>Summary</th>
<th>Total</th>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table></div>
<script>
var cortador=0;
function getUrlParameter(sParam)
{
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam)
{
return sParameterName[1];
}
}
}
/*var arbol = getUrlParameter('tree');
var corte = getUrlParameter('corte');*/
var arbol = getUrlParameter('tree');
var corte = getUrlParameter('corte');
var elcsv = getUrlParameter('csv');
var elfsa =getUrlParameter('fsa');
var virus =getUrlParameter('virus'); ;
Clustree(arbol,corte,elcsv,elfsa, virus);
</script>
</body>
</html>