aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDannyArends2015-09-20 12:51:08 +0200
committerDannyArends2015-09-20 12:51:08 +0200
commitc3787a404f64b1d77387d5156be1ad3271a08dee (patch)
treea58ce4760128059a847ff64b84b8a12106cb0691
parentb47cd2fca0c9a835b15288aa4959867eaeb00f5a (diff)
downloadgenenetwork2-c3787a404f64b1d77387d5156be1ad3271a08dee.tar.gz
Display the results from WGCNA updated
-rw-r--r--wqflask/wqflask/templates/wgcna_results.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/wgcna_results.html b/wqflask/wqflask/templates/wgcna_results.html
index 79c321e5..9592c25f 100644
--- a/wqflask/wqflask/templates/wgcna_results.html
+++ b/wqflask/wqflask/templates/wgcna_results.html
@@ -7,12 +7,17 @@
Phenotype / Module table:
<table>
<tr><th>Phenotype</th><th>Module</th><th>Weight</th></tr>
- {% for k in result %}
- <tr><td>{{k[0].name}}</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+ {% for k in results['network'] %}
+ <tr><td>{{k}}</td><td>&nbsp;</td><td>&nbsp;</td></tr>
{% endfor %}
</table>
- WGCNA module plot
- <img src="">
+ <h2>WGCNA module plot</h2>
+ <a href="{{ results['imgurl'] }}">
+ <img alt="Embedded Image" src="data:image/png;base64,
+ {% for elem in results['imgdata'] -%}
+ {% print("%c"|format(elem)) %}
+ {%- endfor %}
+ " /></a>
</div>
{% endblock %}