diff options
author | DannyArends | 2015-09-20 12:51:08 +0200 |
---|---|---|
committer | DannyArends | 2015-09-20 12:51:08 +0200 |
commit | c3787a404f64b1d77387d5156be1ad3271a08dee (patch) | |
tree | a58ce4760128059a847ff64b84b8a12106cb0691 | |
parent | b47cd2fca0c9a835b15288aa4959867eaeb00f5a (diff) | |
download | genenetwork2-c3787a404f64b1d77387d5156be1ad3271a08dee.tar.gz |
Display the results from WGCNA updated
-rw-r--r-- | wqflask/wqflask/templates/wgcna_results.html | 13 |
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> </td><td> </td></tr> + {% for k in results['network'] %} + <tr><td>{{k}}</td><td> </td><td> </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 %} |