diff options
Diffstat (limited to 'wqflask')
-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 %} |