Personal tools

Template:MotifActivitiesInMaraPhase1 mm9: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>
<html>
<h3>mm9</h3>
<table class="wikitable mw-collapsible mw-collapsed">
 
<tr><th scope="col">Chart</th></tr>
     <div id="chartmm9" style="height:300px;"></div><br>
<tr><td>
     <div id="chartmm9" style="height:300px;width:800px"></div><br>
     Sample of clicked point: <span id="samplemm9"></span>
     Sample of clicked point: <span id="samplemm9"></span>
 
</td></tr>
</table>


<script type="text/javascript">
<script type="text/javascript">
Line 21: Line 23:
     $.plot($("#chartmm9"), [{
     $.plot($("#chartmm9"), [{
         data: dataset,
         data: dataset,
         color: "rgb(30, 180, 20)",
         color: "#0080ff",
         threshold: { below: t, color: "rgb(200, 20, 30)" }
         constraints: [{threshold: 0, color: "#ff5555", evaluate : function(y,threshold){ return y < threshold; }}]
       }], {
       }], {
       xaxis: { tickDecimals: 0, show: false },
       xaxis: { tickDecimals: 0, show: false },
      yaxis: { axisLabel: 'Z-value' },
       grid: { hoverable: true, clickable: true },
       grid: { hoverable: true, clickable: true },
     });
     });




Line 58: Line 63:
                      
                      
                     showTooltip(item.pageX, item.pageY,
                     showTooltip(item.pageX, item.pageY,
                                 "Sample: "+series[x]+"<br>Z-Score: "+y);
                                 "Sample: "+series[x]+"<br>Z-value: "+y);
                 }
                 }
             }
             }

Latest revision as of 12:59, 2 April 2012

Chart

Sample of clicked point: