aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Yan2017-07-03 19:45:07 +0000
committerLei Yan2017-07-03 19:45:07 +0000
commit302ba15ab5b39da3e7868a3eb1539e24d1fdbf5c (patch)
treea4762ffa709159351a49ca185acd5a1f81ddf781
parente15cef7c47d6da9085c44d0835e86620162d1607 (diff)
downloadgenenetwork2-302ba15ab5b39da3e7868a3eb1539e24d1fdbf5c.tar.gz
Update Statistic table in Correlation Scatterplot
-rw-r--r--wqflask/wqflask/templates/corr_scatterplot.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/wqflask/wqflask/templates/corr_scatterplot.html b/wqflask/wqflask/templates/corr_scatterplot.html
index 05891c95..b4525718 100644
--- a/wqflask/wqflask/templates/corr_scatterplot.html
+++ b/wqflask/wqflask/templates/corr_scatterplot.html
@@ -136,13 +136,16 @@
<br>
-<table class="table table-hover table-striped table-bordered" style="width: 250px; margin-left: 80px;">
+<table class="table table-hover table-striped table-bordered" style="width: 200px; margin-left: 80px;">
+ <thead>
+ <tr><th>Statistic</th><th>Value</th></tr>
+ </thead>
<tbody>
- <tr><th>Number</th> <td>{{jsdata.num_overlap}}</td></tr>
- <tr><th>Slope</th> <td>{{'%0.3f' % jsdata.slope}}</td></tr>
- <tr><th>Intercept</th> <td>{{'%0.3f' % jsdata.intercept}}</td></tr>
- <tr><th>R value</th> <td>{{'%0.3f' % jsdata.r_value}}</td></tr>
- <tr><th>P value</th> <td>{{'%0.3e' % jsdata.p_value}}</td></tr>
+ <tr><td>Number</td> <td>{{jsdata.num_overlap}}</td></tr>
+ <tr><td>Slope</td> <td>{{'%0.3f' % jsdata.slope}}</td></tr>
+ <tr><td>Intercept</td> <td>{{'%0.3f' % jsdata.intercept}}</td></tr>
+ <tr><td>R value</td> <td>{{'%0.3f' % jsdata.r_value}}</td></tr>
+ <tr><td>P value</td> <td>{{'%0.3e' % jsdata.p_value}}</td></tr>
</tbody>
</table>