diff options
author | DannyArends | 2015-10-07 15:00:05 +0200 |
---|---|---|
committer | DannyArends | 2015-10-07 15:00:05 +0200 |
commit | 2e30a64ca583d990cd46bb9eafdad7d84b46b48d (patch) | |
tree | da64bae1c8d4b34aacbfae227488a85169680d45 | |
parent | ce847df45dacefd2727ee05c58b54863251f2d5b (diff) | |
download | genenetwork2-2e30a64ca583d990cd46bb9eafdad7d84b46b48d.tar.gz |
The results now show the soft thresholds table, and the gene <-> module table
-rw-r--r-- | wqflask/wqflask/templates/wgcna_results.html | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/wqflask/wqflask/templates/wgcna_results.html b/wqflask/wqflask/templates/wgcna_results.html index b8a4a4f5..077238a5 100644 --- a/wqflask/wqflask/templates/wgcna_results.html +++ b/wqflask/wqflask/templates/wgcna_results.html @@ -4,13 +4,33 @@ {% block content %} <!-- Start of body --> <div class="container"> <h1>WGCNA Results</h1> - Phenotype / Module table: - <table> - <tr><th>Phenotype</th><th>Module</th><th>Weight</th></tr> - {% for k in results['network'] %} - <tr><td>{{k}}</td><td> </td><td> </td></tr> - {% endfor %} + <h4>Soft threshold table</h4> + <table width="80%"> + <tr><th>Power</th><th>SFT.R.sq</th><th>slope</th><th>truncated.R.sq</th><th>mean.k</th><th>median.k</th><th>max.k</th><th>Analysis</th></tr> + {% for r in range(powers[0][0]|length) %} + <tr> + {% for c in range(powers[0]|length) %} + <td>{{powers[0][c][r]|round(3)}}</td> + {% endfor %} + <td><input type="submit" value="Redo use power = {{powers[0][0][r]}}" /></td></tr> + {% endfor %} </table> + + <h4>Phenotype / Module table</h4> + + debug: {{results['network']|length}} + debug: {{results['network'][0]|length}} + {{phenotypes[0][0]}} + <table width="80%"> + <tr><th>Phenotype</th><th>Module</th></tr> + {% for r in range(results['network'][0]|length) %} + <tr> + <td>{{phenotypes[r][0]}}</td> + <td>{{results['network'][0][r]}}</td> + </tr> + {% endfor %} + </table> + <h2>WGCNA module plot</h2> <a href="/tmp/{{ results['imgurl'] }}"> <img alt="Embedded Image" src="data:image/png;base64, |