From 11752729a0503a1c11be4a96850f78e7a8620492 Mon Sep 17 00:00:00 2001 From: miles Date: Fri, 5 Apr 2013 00:09:45 +0000 Subject: [PATCH] View Ontology Changes: -downloaded tab delimited file now has 0,0 field -ontologies can now be dynamically viewed or ignored svn path=/; revision=458 --- Personnel/miles/Web Page/heatMap.php | 1 - Personnel/miles/Web Page/infoChoice.php | 4 - Personnel/miles/Web Page/viewOntology.php | 249 ++++++++++++++++------ 3 files changed, 188 insertions(+), 66 deletions(-) diff --git a/Personnel/miles/Web Page/heatMap.php b/Personnel/miles/Web Page/heatMap.php index 1ad201b..33f1c88 100644 --- a/Personnel/miles/Web Page/heatMap.php +++ b/Personnel/miles/Web Page/heatMap.php @@ -155,7 +155,6 @@ for(var i=0; i"; var allSpecies = rawSpecies.split(","); var speciesCount = allSpecies.length; -alert(speciesCount*25 + 50); var rawClusterIDs = ""; var allClusterIDs = rawClusterIDs.split(","); var maxCount = ; diff --git a/Personnel/miles/Web Page/infoChoice.php b/Personnel/miles/Web Page/infoChoice.php index 6436200..b51748c 100644 --- a/Personnel/miles/Web Page/infoChoice.php +++ b/Personnel/miles/Web Page/infoChoice.php @@ -190,10 +190,6 @@ function process() { } document.viewOntology.ontologies.value = ontologies; } - - - -//2533488419 diff --git a/Personnel/miles/Web Page/viewOntology.php b/Personnel/miles/Web Page/viewOntology.php index 16172d0..12ef2c0 100644 --- a/Personnel/miles/Web Page/viewOntology.php +++ b/Personnel/miles/Web Page/viewOntology.php @@ -1,6 +1,25 @@ + +
+Note: The colors have no relevance to the data, they simply serve to distinguish rows visually.

+ The numbers printed inside each cell represent the confidence rating of the ontological assignment; a higher number indicates more confidence.

+ An "A" after the term name signifies that it relates to anatomy, a "G" signifies that it relates to growth, development, or structure

+ Click on a gene or term for detailed annotations from Plant Ontology.

+ Select or deselect terms to be downloaded using the boxes underneath the term names. + +
+ + + + +
+ + + + + \n"; + echo "

Include Ontologies:
"; + + for($i = 0; $i < sizeof($ontologies); $i++) { - if($ontologies[$i] == "Anatomy") $ontologies[$i] = "plant_anatomy"; + echo ""; + echo $ontologies[$i] . "
"; } + echo ""; + echo ""; + echo "

\n"; + echo "

"; //get rid of any of those messy .somethings after the gene ID $tmp = explode(",",$_POST['param']); @@ -84,10 +120,8 @@ $ontologies = explode(",",$_POST["ontologies"]); $i = 0; for($row = mysql_fetch_row($results); $row != null; $row = mysql_fetch_row($results)) { $add = ""; - if($row[1]=="plant_anatomy") $add= " (A)"; - if($row[1]=="plant_structure_development_stage") $add= " (G)"; $terms[$i][0] = $row[0]; - $terms[$i][1] = $add; + $terms[$i][1] = $row[1]; $i++; } @@ -137,7 +171,7 @@ $ontologies = explode(",",$_POST["ontologies"]); } $printTerms; for($i = 0; $i < sizeof($terms); $i ++) { - $printTerms[$i] = $terms[$i][0] . $terms[$i][1]; + $printTerms[$i] = implode(";",$terms[$i]); } } @@ -151,23 +185,6 @@ echo "No ontologies were selected!"; } ?> -
-Note: The colors have no relevance to the data, they simply serve to distinguish rows visually.

- The numbers printed inside each cell represent the confidence rating of the ontological assignment; a higher number indicates more confidence.

- An "A" after the term name signifies that it relates to anatomy, a "G" signifies that it relates to growth, development, or structure

- Click on a gene or term for detailed annotations from Plant Ontology.

- Select or deselect terms to be downloaded using the boxes underneath the term names. - -
- - - - -
- - - -
@@ -213,10 +230,6 @@ Your browser does not support the canvas element. - - - - -- 2.34.1