Beispiel #1
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/explore-work.php";
requirejs("include/explore-add.js");
requirecss("include/explore.css");
requirecss("include/sliding-iframe.css");
requirejs("include/sliding-iframe.js");
clus_head();
show_menu();
get_explore_info();
?>

Select an option:<br />

<a href="javascript:show_sliding_window('file-pers-slid');" >
  Load a data set of genes from file</a> 
<br />
<iframe src="add-file.php?username=@@prnt_exploreuser@@&iframe=true" id="file-pers-slid" class="sliding-hidden template-href">
</iframe>

<a href="javascript:show_sliding_window('inter-pers-slid');" >
  Create a data set from the intersection of multiple data sets</a> 
<br />
<iframe src="add-hyper.php?username=@@prnt_exploreuser@@&iframe=true" id="inter-pers-slid" class="sliding-hidden template-href">
</iframe>


<a href="javascript:show_sliding_window('merge-pers-slid');" >
  Create a data set from the merge of multiple data sets</a> 
Beispiel #2
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/explore-work.php";
requirejs("include/explore-analize.js");
requirecss("include/explore.css");
clus_head();
show_menu();
get_explore_info();
?>

Click on the data set that you want to analyze<br /><br />
<div id="analizecontent">
</div>

Beispiel #3
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/explore-work.php";
requirejs("include/explore-add-file.js");
requirecss("include/explore.css");
requirecss("include/sliding-iframe.css");
requirejs("include/synonim.js");
requirecss("include/synonim.css");
clus_head();
show_menu();
get_explore_info();
?>

  <div id="box-file-pers-slid" class="sliding-box">
    Upload a single-column text file to create a new gene data set:
    <form id="form-box-file-pers-slid" action="../analizzatore/add_list.php"		method="post" enctype="multipart/form-data"
	  target="upload-pers-target"
	  onsubmit="set_add_output('form-box-file-pers-slid')">
      <input id="user-form-box-file-pers-slid"
	     type="hidden" name="user" />
      <label for="list">Gene data set:</label>
      <input type="file" name="list" /><br />
      <label for="title">Name of the data set (max 128 char):</label>
      <input type="text" size=40 maxlength=128 name="title"
	     value="No title"/>


<h4>
Beispiel #4
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/database.php";
require "include/info.php";
require "include/list-work.php";
requirejs("include/slider.js");
requirecss("include/slider.css");
requirejs("include/sliding-window.js");
requirecss("include/sliding-window.css");
clus_head();
show_menu();
get_info_or_ask();
?>

<span class="get-list-on">
  Please select a list: 
</span>
<select id="get-list-tendina" class="intersel"></select><select class="colorchooser"></select>
<span id="multiple-selection">
</span>

<span class="get-list-off">
  <h1>Multiple sliding window histogram
    <sup><a href="../help/index.php#x1-80002.3" >?</a></sup>
  </h1>
  <span id="allright">
    <label for="bins">Change number of bins</label>
    <input type="text" name="bins" size="3" id="bins"
	   value=64>
Beispiel #5
0
<?php

requirejs("include/explore-work.js");
requirejs("include/evaluate_end_set_prnt.js");
requirejs("include/evaluate_end_set_prnt.css");
requirecss("include/explore-work.css");
function export_exploreuser($expuser)
{
    echo "\n";
    echo "<span id=\"exploreuser\" class=\"hidden\">{$expuser}</span>";
}
function get_explore_info()
{
    if (isset($_GET["username"])) {
        $exploreuser = $_GET["username"];
    } else {
        $exploreuser = "******";
    }
    export_exploreuser($exploreuser);
}
Beispiel #6
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/explore-work.php";
requirejs("include/explore-add-hyper.js");
requirecss("include/explore.css");
requirecss("include/sliding.css");
requirejs("include/sliding.js");
requirejs("include/explore-subroutine.js");
requirecss("include/explore-subroutine.css");
clus_head();
show_menu();
get_explore_info();
?>

  <div id="box-inter-pers-slid" class="sliding-box">
    This tool will create a new data set with the following  information:
    <form id="form-box-inter-pers-slid" action="../analizzatore/hyper.php"
	  method="post" enctype="multipart/form-data"
	  target="upload-pers-target"
	  onsubmit="set_add_output('form-box-inter-pers-slid')">
      <input id="action-form-box-inter-pers-slid"
	     type="hidden" name="action" value="create" />
      <input id="user-form-box-inter-pers-slid"
	     type="hidden" name="user" />
      <input id="user1-form-box-inter-pers-slid"
	     type="hidden" name="user1" />
      <input id="list1-form-box-inter-pers-slid"
	     type="hidden" name="list1" />
      <input id="user2-form-box-inter-pers-slid"
Beispiel #7
0
<?php

require "include/clusterizator.php";
require "include/menu.php";
requirecss("include/sliding.css");
requirejs("include/sliding.js");
requirejs("include/evaluate_end_set_prnt.js");
requirejs("include/evaluate_end_set_prnt.css");
requirejs("include/tools.js");
clus_head();
show_menu();
?>

<h1>Tools</h1>

<h2>Linear aggregation analysis</h2>
This tool performs the linear aggregation analysis from
Scolari et al. Molecular BioSystems 7, 878-888 2011. <br /><br />

<a href="analizzatore/cluster.php">Perform the linear aggregation cluster analysis</a>

<span class='hidden'>
<h2>Multifun ontology enrichment test</h2>

(To be written)<br /><br />

<a>Perform the functional classification enrichment test</a>
</span>

<h2>Multiple sliding window histogram</h2>
Beispiel #8
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/database.php";
require "include/info.php";
require "include/list-work.php";
requirejs("include/synonim.js");
requirecss("include/synonim.css");
requirejs("include/list.js");
requirecss("include/list.css");
clus_head();
show_menu();
get_info_or_ask();
?>
<span class="get-list-on">
  Please select a data set to show information: 
</span>
<select id="get-list-tendina" class="intersel" >
</select>

<span class="get-list-off">

    <h1> Information </h1>
    <span class="list-guest">
      <span class="infotitle">Code:</span>
      <span class="infodata prnt_lcode"></span>
    </span>
    <span class="infotitle">Title:</span>
    <span class="infodata prnt_ltitle"></span>
    <span class="list-noguest">
Beispiel #9
0
<?php

requirecss("include/menu.css");
requirejs("include/menu.js");
function show_menu()
{
    global $betatest;
    if (isset($_GET['iframe'])) {
        return;
    }
    global $webdir;
    global $session;
    $menu = <<<EOF

<div class=menu-box>
<div class=menu>
EOF;
    /* // Beta testing */
    /*   if(islogged()) { */
    $menu .= <<<EOF
<a class="menulink" href="{$webdir}/">
 Home</a> -
<a class="menulink" href="{$webdir}/explore/">
  Explore</a> -
<a class="menulink" href="{$webdir}/tools.php">
Tools</a> - 
<a class="menulink" href="{$webdir}/help/">
Help</a>
EOF;
    if (isadmin()) {
        $menu .= <<<EOF
Beispiel #10
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/database.php";
require "include/info.php";
require "include/list-work.php";
requirecss("include/slider.css");
requirejs("include/slider.js");
requirejs("include/cluster.js");
clus_head();
show_menu();
get_info_or_ask();
?>

<span class="get-list-on">
  Please select a list: 
</span>
<select id="get-list-tendina" class="intersel" >
</select>

<span class="get-list-off">
  <h1>Linear aggregation analysis of a dataset
    <sup><a href="../help/index.php#x1-80002.2" >?</a></sup>
  </h1>
  <span id="allright">
    <img class="graceplot"
	 id="cluplot"
	 alt="Clusters" />
    <br />
    <a
Beispiel #11
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/database.php";
require "include/info.php";
require "include/list-work.php";
requirejs("include/slider.js");
requirecss("include/slider.css");
requirejs("include/pearson.js");
requirecss("include/pearson.css");
clus_head();
show_menu();
get_info_or_ask();
?>

<span class="get-list-second-on">
    Please select two data sets:
<br />
</span>
<select id="get-list-tendina" class="intersel" >
</select>
<br />
<select id="get-list-second" class="intersel" >
</select>

<span class="get-list-second-off">
<h1> Local Pearson correlation coefficient tool
  <sup><a href="../help/index.php#x1-80002.4">?</a></sup>
</h1>
Beispiel #12
0
<?php

require "../include/clusterizator.php";
require "include/menu.php";
require "include/explore-work.php";
requirecss("include/split-iframe.css");
requirejs("include/split-iframe.js");
requirejs("include/explore.v2.js");
clus_head();
show_menu();
get_explore_info();
?>

<h1>Personal data sets</h1>

<!-- <span class="notlogged">If you login with a valid account, you can add and analyze your private data sets. -->
<!-- </span> -->

<!-- <span class="logged"> -->
  <div id="pers-split" class="split-window">
    <span id="ana-pers-split" class="split active-split">
      <a id="a-ana-pers-split" class="splitlink template-href"
	 href="analize.php?username=@@prnt_user@@&iframe=true">
	<img class="splitimg" src="../images/stock_task.png" />
	Analyze</a></span>
    <span id="add-pers-split" class="split">
      <a id="a-add-pers-split"  class="splitlink template-href"
	 href="add.php?username=@@prnt_user@@&iframe=true">
	<img class="splitimg" src="../images/stock_todo.png" />
	Add</a></span>
    <span id="del-pers-split" class="split">
Beispiel #13
0
    global $cookieID;
    global $domainname;
    setcookie($cookieID, "", time() - 3600, $webdir, $domainname);
}
initialize_session();
function requirejs($js)
{
    global $javascripts;
    $javascripts[] = $js;
}
function requirecss($css)
{
    global $csss;
    $csss[] = $css;
}
requirecss("include/clusterizator.css");
requirejs("include/clusterizator.js");
requirejs("include/getElementsByClassName-1.0.1.js");
function islogged()
{
    global $session;
    if (isset($session['privilege']) && $session['privilege'] < 2) {
        return TRUE;
    } else {
        return FALSE;
    }
}
function isadmin()
{
    global $session;
    if (isset($session['privilege']) && $session['privilege'] == 0) {