コード例 #1
0
Yask, please fill this.

=head1 AUTHORS

Yask Gupta <*****@*****.**> with a review by Steffen ME<ouml>ller

=head1 COPYRIGHT

UK-SH Schleswig-Holstein, LE<uuml>beck, Germany, 2010-2011

=cut
*/
require_once "../func_error.php";
require_once "../header.php";
show_small_header("Modules as Pathways with Cytoscape", true);
if (array_key_exists("modcolour", $_GET) or array_key_exists("modcolour", $_POST)) {
    $var = $_POST['modcolour'];
    if (empty($var)) {
        $var = $_GET['modcolour'];
    }
    if (empty($var)) {
        errorMessage("The argument 'modcolour' needs a value.");
    }
    $filename = "VisANTInput-" . $var . "_d.out";
    if (!file_exists($filename)) {
        errorMessage("The file with data for module '{$modcolour}' was not found.");
    }
    $fh = fopen($filename, "r") or die("Can't open file '{$filename}'.");
    $array_edge = array();
    $array_node = array();
コード例 #2
0
ファイル: modules.php プロジェクト: BackupTheBerlios/eqtl
UK-SH Schleswig-Holstein, LE<uuml>beck, Germany, 2010-2011
=cut
*/
require_once "header.php";
?>

<script>
function showMe (it, box) {
  var vis = (box.checked) ? "block" : "none";
  document.getElementById(it).style.display = vis;
}
</script>

<?php 
require_once "func_connecti.php";
show_small_header("Modules for {$projecttitle}", TRUE);
// retrieva data from previous form execution
$accessible_fields_in_POST_or_GET = array("modcolour", "clinical", "mm", "gs", "LODmin", "order");
if (isset($_POST["debug"]) or isset($_GET["debug"])) {
    echo "<br>Retrieving info for: ";
    print_r($accessible_fields_in_POST_or_GET);
    echo "<br>\n";
}
foreach ($accessible_fields_in_POST_or_GET as $vname) {
    if (isset($_POST[$vname])) {
        ${$vname} = ltrim(rtrim($_POST[$vname]));
        if (isset($_POST["debug"]) or isset($_GET["debug"])) {
            echo $vname . "=" . ${$vname} . "\t";
        }
    } elseif (isset($_GET[$vname])) {
        ${$vname} = ltrim(rtrim($_GET[$vname]));
コード例 #3
0
ファイル: help.php プロジェクト: BackupTheBerlios/eqtl
<?php

require_once "header.php";
show_small_header("Documentation", TRUE);
?>
   <h1>Expression QTL for Murine Experimental Autoimmune Encephalomyelits</h1>
   
   <h2>Table of Contents</h2>
   	<nl>
	<li><a href="#locus">Locus
	<li><a href="#qtl">QTL
	<li><a href="#interaction">Interactions
	<li><a href="#expression">Expression data
		<ul>
		<li><a href="#qtl">Traits
		<li><a href="#qtl">Parental data
		</ul>
	<li><a href="#installation">Installation
	</nl>
   <h2 name=locus>Locus</h2>
	Loci represent regions on the murine chromosome that are associated with 
	differences between the strains that are associated with the disease.
	These are characterised by a microsatellite polymorphic marker in which
	the strains differ, which is referred to as a <i>marker</i>.
	The web interface allows to query for 
	<ul>
	<li>Chromosome
	<li>Morgan-distance from the first marker on that chromosome
	</ul>
	and other parameters that refer to the <a href=#qtl>QTL</a> and
	<a href=#interaction>interaction</a> tables and are explained there.