Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
View Ontology Changes:
authormiles <miles@localhost>
Tue, 26 Mar 2013 20:58:51 +0000 (20:58 +0000)
committermiles <miles@localhost>
Tue, 26 Mar 2013 20:58:51 +0000 (20:58 +0000)
        -VOdownload.php made
        -download button implimented
        -downloading tab delimited file is now working

svn path=/; revision=448

Personnel/miles/Web Page/heatMap.php
Personnel/miles/Web Page/viewOntology.php

index ae3df3e638e38a4f7690e0f94ca652d1f6b686f6..4360f2255d53323728bbd68eb447acab3a56779e 100644 (file)
@@ -130,7 +130,7 @@ Your browser does not support the canvas element.
 <canvas id="nothing" width="1" height="<?php echo 200 + sizeof($allClusterIDs)*25 ?>"> </canvas>
 </div>
 
-<form id="downloadImage" action="download.php" method="post">
+<form id="downloadImage" action="HMdownload.php" method="post">
 <input type="hidden" name="param" value = "unset DISPLAY && java -Djava.awt.headless=true -jar Heatmap.jar &#34;image&#34; <?php echo implode(" ",$includedSpecies)?>;<?php echo $input; ?>">
 <input type="button" value="Download as JPG" onClick="downloadImage()"/>
 </form>
index 062c21a83f4833b4a671579633ea9d7a76d303d9..f7b189d578bf0d57e4a952b84ac45ee50b140297 100644 (file)
@@ -121,6 +121,16 @@ Note: The colors have no relevance to the data, they simply serve to distinguish
     The numbers printed inside each cell represent the confidence rating of the ontological assignment; a higher number indicates more confidence.<br><br>
     An "A" after the term name signifies that it relates to anatomy, a "G" signifies that it relates to growth, development, or structure <br><br>
     Click on a gene or term for detailed annotations from Plant Ontology.
+
+<form name="downloadImage" action="VOdownload.php" method="post">
+<input type="button" value="Download Tab Delimited File" onClick="downloadTabDem()"/>
+<input type="hidden" value="" name="genes">
+<input type="hidden" value="" name="terms">
+<input type="hidden" value="" name="cellData"/>
+</form>
+
+
+
 </div>
 
 
@@ -303,9 +313,7 @@ function drawMap(init) {
       if(checkBoxes[t]) {
        ontMap.fillRect(xCoord,topOffset-(cellSize*3),cellSize,cellSize);
       }
-      if(!checkBoxes[t]) {/*
-       ontMap.fillStyle="#FFFFFF";
-       ontMap.fillRect(xCoord,topOffset-(cellSize*3),cellSize,cellSize);*/
+      if(!checkBoxes[t]) {
        ontMap.fillStyle="#000000";
        ontMap.strokeRect(xCoord,topOffset-(cellSize*3),cellSize,cellSize);
       }
@@ -371,6 +379,13 @@ function getGeneInfo(gene) {
   document.geneForm.submit();
   }
 
+function downloadTabDem() {
+  document.downloadImage.cellData.value=rawCellData;
+  document.downloadImage.terms.value=terms.join("\t");
+  document.downloadImage.genes.value=genes.join(",");
+  document.downloadImage.submit();
+}
+
 
 </script>