-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatistics.php
More file actions
148 lines (143 loc) · 6.43 KB
/
statistics.php
File metadata and controls
148 lines (143 loc) · 6.43 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
<title>Statistics - MDPD</title>
<link rel="icon" href="resource/pulmonomics_lab_logo.png" type="image/x-icon">
<link rel = "stylesheet" type = "text/css" href = "css/main.css" />
<script type = "text/javascript" src = "js/stat_plots.js"></script>
<script type = "text/javascript" src = "https://cdn.plot.ly/plotly-latest.min.js"></script>
<style>
.intro{
width:90%;
height:auto;
margin: 10px 5% 0 5%;
}
.plot{
max-width: 100%;
overflow: auto;
margin-left: auto;
margin-right: auto;
}
.caption{
text-align: center;
font-size: 1.2em;
margin-top: 10px;
}
#bar-plot-wrapper_1 {
width : 48%;
}
#bar-plot-wrapper_2 {
width : 48%;
}
#stat-plot-wrapper_1 {
width : 48%;
}
#stat-plot-wrapper_2 {
width : 48%;
}
/*#stat-plot-wrapper_3 {
width : 32%;
}*/
</style>
</head>
<body>
<div class = "section_header">
<center><p class="title">MDPD - Microbiome Database of Pulmonary Diseases</p></center>
</div>
<div class = "section_menu">
<center>
<table cellpadding="3px">
<tr class="nav">
<td class="nav"><a href="index.php" class="side_nav">Home</a></td>
<td class="nav"><a href="browse.php" class="side_nav">Browse</a></td>
<td class="nav"><a href="analysis.php" class="side_nav">Analysis</a></td>
<td class="nav"><a href="#" class="active">Statistics</a></td>
<td class="nav"><a href="about.php" class="side_nav">About</a></td>
<td class="nav"><a href="help.html" class="side_nav">Help</a></td>
<td class="nav"><a href="submission.php" class="side_nav">Submit data</a></td>
<td class="nav"><a href="team.html" class="side_nav">Team</a></td>
</tr>
</table>
</center>
</div>
<!--<div class = "section_left"></div>-->
<div class = "section_middle">
<br/>
<div class="intro">
<hr/><h2>1. Data distribution on the basis of group, assay type, and body site</h2><hr/>
<div id="sunburst-plot-container" class="plot"></div>
<div class="plot caption">Fig. 1A - Interactive sunburst plot showing the total distibution of runs across different groups and assay types.</div>
<div id="stat-plot-container_3" style="width:100%;"></div>
<div class="caption">Fig. 1B - Group-wise distribution of the runs across different body sites.</div>
<div id="stat-plot-wrapper_1" class="plot" style="margin:10px 1% 10px 0; float:left;">
<div id="stat-plot-container_1" style="width:100%;"></div>
<div class="caption">Fig. 1C - Distribution of runs across different body sites.</div>
</div>
<div id="stat-plot-wrapper_2" class="plot" style="margin:10px 1% 10px 1%; float:left;">
<div id="stat-plot-container_2" style="width:100%;"></div>
<div class="caption">Fig. 1D - Distribution of runs across different assay types.</div>
</div>
<div style="clear:both;"></div>
</div>
<br/>
<div class="intro">
<hr/><h2>2. Year-wise data distribution</h2><hr/>
<div id="bar-plot-container_3" class="plot" style="margin:10px 0% 0 0%;"></div>
<div class="caption">Fig. 2A - Year-wise distribution of the data for each group.</div>
<div id="bar-plot-container_2" style="width:100%;"></div>
<div class="caption">Fig. 2B - Year-wise distribution of the data for each body site.</div>
<div id="bar-plot-container_1" style="width:100%;"></div>
<div class="caption">Fig. 2C - Year-wise distribution of the data for each assay type.</div>
</div>
<br/>
<div class="intro"><hr/><h2>3. Country-wise data distribution</h2><hr/></div>
<div id="map-plot-container" class="intro plot"></div>
<div class="intro plot caption">Fig. 3 - Interactive plot showing country-wise distribution of the data.</div>
<br/><br/>
</div>
<div style="clear:both">
<br/><hr/>
<p style="font-size:0.9em;text-align:center;">
© 2025 Bose Institute. All rights reserved. For queries, please contact Dr. Sudipto Saha
(<a style="color:#003325;" href="mailto:ssaha4@jcbose.ac.in">ssaha4@jcbose.ac.in</a>,
<a style="color:#003325;" href="mailto:ssaha4@gmail.com">ssaha4@gmail.com</a>).
</p>
</div>
</body>
<script>
getStatisticsData('stat-plot-container', 'sunburst-plot-container');
getChoroplethData('map-plot-container');
getYearWiseHistogramData('bar-plot-container');
window.onresize = function() {
Plotly.Plots.resize('stat-plot-container_1');
Plotly.Plots.resize('stat-plot-container_2');
Plotly.Plots.resize('stat-plot-container_3');
Plotly.Plots.resize('map-plot-container');
Plotly.Plots.resize('sunburst-plot-container');
Plotly.Plots.resize('bar-plot-container_1');
Plotly.Plots.resize('bar-plot-container_2');
Plotly.Plots.resize('bar-plot-container_3');
};
</script>
<style>
@media screen and (max-width: 1250px) {
#bar-plot-wrapper_1 {
width : 100%;
}
#bar-plot-wrapper_2 {
width : 100%;
}
#stat-plot-wrapper_1 {
width : 100%;
}
#stat-plot-wrapper_2 {
width : 100%;
}
#stat-plot-wrapper_3 {
width : 100%;
}
}
</style>
</html>