Template:Flot entrezgene mm9: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<h2>CAGE Peaks (mm9)</h2> | <h2>CAGE Peaks (mm9)</h2> | ||
<div id="chartmm9" style="width:550px;height:300px;"></div><br> | |||
<div id="chartmm9" style="width: | |||
Sample of clicked point: <span id="samplemm9"></span> | Sample of clicked point: <span id="samplemm9"></span> | ||
<div id="cpmm9"></div> | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 46: | Line 45: | ||
choiceContainer.append('<br/><input type="checkbox" name="' + key + | choiceContainer.append('<br/><input type="checkbox" name="' + key + | ||
'" checked="checked" id="id_mm9' + key + '">' + | '" checked="checked" id="id_mm9' + key + '">' + | ||
'<label for="id_mm9' + key + '"><a href="/resource_browser/index.php/FFCP_PHASE1: | '<label for="id_mm9' + key + '"><a href="/resource_browser/index.php/FFCP_PHASE1:Mm9::' | ||
+ val.label.split(" ")[0] + '">' + val.label + '</label>'); | + val.label.split(" ")[0] + '">' + val.label + '</label>'); | ||
}); | }); | ||
Line 66: | Line 65: | ||
if (data.length > 0) | if (data.length > 0) | ||
$.plot($("#chartmm9"), data, { | $.plot($("#chartmm9"), data, { | ||
yaxis: { min: 0 }, | yaxis: { min: 0, axisLabel: 'TPM' }, | ||
xaxis: { tickDecimals: 0, show: false }, | xaxis: { tickDecimals: 0, show: false }, | ||
grid: { hoverable: true, clickable: true }, | grid: { hoverable: true, clickable: true }, | ||
legend: { show: false }, | |||
}); | }); | ||
Latest revision as of 09:50, 26 March 2012
CAGE Peaks (mm9)
Sample of clicked point: