$finalHeatMapData[$i] = implode(",", $heatMapData[$i]);
}
-// extra goodies from the mysql database
-$username="inparanoid-read-user";
-$password="inparanoid-read-user_pw";
-$database="inparanoid_data";
-$url="floret.cgrb.oregonstate.edu:3306";
-
-$connection=mysql_connect($url,$username,$password);
-$logic="gene like ";
-for($i=0; $i<sizeof($geneIDs); $i++) {
- $logic = $logic . "\"" . $geneIDs[$i] . "%\"";
- if($i+1 < sizeof($geneIDs)) {
- $logic = $logic . " or gene like ";
- }
-}
-
-function array_search2d($needle, $haystack) {
- $ind=0;
- for ($i=0; $i<sizeof($haystack); $i++) {
- if ($needle == (string)$haystack[$i]) {
- $ind = $i;
- }
- }
- return $ind;
-}
-
$width = 25*$speciesCount + 100;
$height = 25 * $clusterCount + 200;
?>