-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbioproject_network_analysis.php
72 lines (66 loc) · 3.67 KB
/
bioproject_network_analysis.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
<?php
$bioproject = (isset($_GET["key"])) ? urldecode($_GET["key"]) : "";
$at = (isset($_GET["at"])) ? urldecode($_GET["at"]) : "";
$is = (isset($_GET["is"])) ? urldecode($_GET["is"]) : "";
$dataJSON = json_encode(
array(
"bioproject" => $bioproject,
"at" => $at,
"is" => $is
)
);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Network analysis - MDPD</title>
<link rel = "stylesheet" type = "text/css" href = "css/main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script type = "text/javascript" src = "js/plot_network.js"></script>
<script type = "text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script type = "text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-csv/1.0.8/jquery.csv.min.js"></script>
<script type = "text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/cytoscape/3.30.4/cytoscape.min.js" integrity="sha512-xpXUCbrkyJCwC5noJXZqec9rSXdRgFfDoL7Q9/pCPe54Y04OlqwPobMcNuA5NPJ7DRR51OIr6xcOH2wUspyKDQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type = "text/javascript" src="https://unpkg.com/cytoscape-svg/cytoscape-svg.js"></script>
</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="statistics.php" class="side_nav">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="team.html" class="side_nav">Team</a></td>
</tr>
</table>
</center>
</div>
<!--<div class = "section_left"></div>-->
<div class = "section_middle">
<p style="margin:0 0 0 5px; font-size:1.2em; font-weight:bold; text-align:center;">
<?php echo "Microbial co-occurrence analysis - ".$bioproject." | ".$at." | ".$is; ?>
</p>
<!-- <div id="download_div" style="width:100%; text-align:center; margin-bottom:20px;"></div> -->
<div id="network_plot_div" style="width:100%;">
<center><img style="height:300px;" src="resource/loading.gif" /></center>
</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:[email protected]">[email protected]</a>,
<a style="color:#003325;" href="mailto:[email protected]">[email protected]</a>).
</p>
</div>
</body>
<script>
<?php echo "getNetworkData('network_plot_div', '".$dataJSON."');"; ?>
</script>
</html>