-
Notifications
You must be signed in to change notification settings - Fork 0
/
consmap.html
177 lines (174 loc) · 9.14 KB
/
consmap.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
<!DOCTYPE html >
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./css/bootstrap.css">
<title>Consensus map</title>
</head>
<body>
<!--------------- Navabar header ----------------->
<div class="container">
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
<h5 class="my-0 mr-md-auto font-weight-normal">Meta AET QTL</h5>
<nav class="my-2 my-md-0 mr-md-3">
<!----<a class="p-2 text-dark" href="#">Home</a>
<a class="p-2 text-dark" href="#">Cite</a>
<a class="p-2 text-dark" href="#">Contact Us</a>---->
</nav>
</div>
</div>
<!------------ Main body --------------->
<br>
<div class="container">
<div class="card text-center">
<div class="card-body">
<!------------- Tab controls -------------------->
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="t1-tab" data-toggle="tab" href="#t1" role="tab" aria-controls="t1" aria-selected="true">Test 1: QTL vs QTL</a>
</li>
<li class="nav-item">
<a class="nav-link" id="t3-tab" data-toggle="tab" href="#t3" role="tab" aria-controls="t3" aria-selected="false">Test 2: QTL vs Mendelian gene</a>
</li>
<li class="nav-item">
<a class="nav-link" id="t2-tab" data-toggle="tab" href="#t2" role="tab" aria-controls="t2" aria-selected="false">Test 3: QTL vs cluster mean</a>
</li>
</ul>
<br>
<!------------------ Tab content ----------------->
<div class="tab-content" id="myTabContent">
<!---------------- Tab 1 UI code ---------------------->
<div class="tab-pane fade show active" id="t1" role="tabpanel" aria-labelledby="t1-tab">
<!---<h6 class="card-title">Enter the details of Identified QTL</h6>--->
<div class="row">
<div class="col-sm">
<div class="form-group">
<label for="t1_chri">Select a chromosome</label>
<select class="form-control chri" id="t1_chri">
<option>Chr1</option>
<option>Chr2</option>
<option>Chr3</option>
<option>Chr4</option>
<option>Chr5</option>
<option>Chr6</option>
<option>Chr7</option>
</select>
</div>
</div>
<div class="col-sm">
<label for="t1_ipos">Query location (bp):</label><br>
<input type="number" id="t1_ipos" placeholder=0>
</div>
<div class="col-sm">
<label for="t1_spos">Target location (bp):</label><br>
<input type="number" id="t1_spos" placeholder=0>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm">
<input id="t1_computepvalue" type="button" class="btn btn-primary" value="Compute p-value" onclick="t1_computepval()"/>
</div>
</div>
<br>
<div class="row">
<div class="col-sm">
<p>p-value:</p>
<p id="t1_pval"></p>
</div>
</div>
</div>
<!-------------- Tab 2 UI code ------------------------->
<div class="tab-pane fade" id="t2" role="tabpanel" aria-labelledby="t2-tab">
<div class="row">
<div class="col-sm">
<div class="form-group">
<label for="t2_chri">Select a chromosome</label>
<select class="form-control chri" id="t2_chri">
<option>Chr1</option>
<option>Chr2</option>
<option>Chr3</option>
<option>Chr4</option>
<option>Chr5</option>
<option>Chr6</option>
<option>Chr7</option>
</select>
</div>
</div>
<div class="col-sm">
<label for="t2_ipos">Query location (bp):</label><br>
<input type="number" id="t2_ipos" placeholder=0>
</div>
<div class="col-sm">
<label for="t2_spos">Target location (bp):</label><br>
<input id="t2_spos" placeholder=0>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm">
<input id="t2_computepvalue" type="button" class="btn btn-primary" value="Compute p-value" onclick="t2_computepval()" />
</div>
</div>
<div class="row">
<div class="col-sm">
<p>p-value:</p>
<p id="t2_pval"></p>
</div>
</div>
</div>
<!-------------- Tab 3 UI code ---------------------->
<!----<div class="tab-pane fade" id="t3" role="tabpanel" aria-labelledby="t3-tab">
<div class="row">
<div class="col-sm">
<div class="form-group">
<label for="t3_chri">Select a chromosome</label>
<select class="form-control chri" id="t3_chri">
<option>Chr1</option>
<option>Chr2</option>
<option>Chr3</option>
<option>Chr4</option>
<option>Chr5</option>
<option>Chr6</option>
<option>Chr7</option>
</select>
</div>
</div>
<div class="col-sm">
<label for="t3_ipos">Query location (bp):</label><br>
<input type="number" id="t3_ipos" placeholder=0>
</div>
<div class="col-sm">
<label for="t3_spos">Target location (bp):</label><br>
<input id="t3_spos" type="number" placeholder=0>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm">
<input id="t3_computepvalue" type="button" class="btn btn-primary" value="Compute p-value" onclick="t3_computepval()" />
</div>
</div>
<div class="row">
<div class="col-sm">
<p>p-value:</p>
<p id="t3_pval"></p>
</div>
</div>
</div>---->
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<script src="./js/bootstrap.js"></script>
<script src="./js/poly_scores.js"></script>
<script src="./js/ztab.js"></script>
<script src="./js/rr.js"></script>
<script src="./js/compute_p_val.js"></script>
</body>
</html>