diff options
author | DannyArends | 2015-09-19 13:06:48 +0200 |
---|---|---|
committer | DannyArends | 2015-09-19 13:06:48 +0200 |
commit | 48d09ede615d6c836b5f11e096d000f7f177041f (patch) | |
tree | f146f1295fbbc86e805db3e3db337104ec30547c | |
parent | 62d3552724bdac7010f49184631adafe4c71eeeb (diff) | |
download | genenetwork2-48d09ede615d6c836b5f11e096d000f7f177041f.tar.gz |
2 templates, 1 for user input and 1 for showing the results
-rwxr-xr-x | wqflask/wqflask/templates/collections/view.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/wgcna_setup.html | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html index f3e9f1b9..5450f903 100755 --- a/wqflask/wqflask/templates/collections/view.html +++ b/wqflask/wqflask/templates/collections/view.html @@ -38,7 +38,7 @@ <input type="submit" class="btn btn-primary" value="Correlation Matrix" /> </div> </form> - <form action="/wgcna" method="post"> + <form action="/wgcna_setup" method="post"> {% if uc %} <input type="hidden" name="uc_id" id="uc_id" value="{{ uc.id }}" /> {% endif %} diff --git a/wqflask/wqflask/templates/wgcna_setup.html b/wqflask/wqflask/templates/wgcna_setup.html new file mode 100644 index 00000000..caf42fdb --- /dev/null +++ b/wqflask/wqflask/templates/wgcna_setup.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} +{% block title %}WCGNA analysis{% endblock %} + +{% block content %} <!-- Start of body --> +<form action="/wgcna_results" method="post"> + <div> + + <h1>WGCNA analysis parameters</h1> + Phenotypes used as input: {{request.form}} + <input type="hidden" name="trait_list" id="trait_list" value= "{{request.form['trait_list']}}"> + + <table> + <tr><td>Soft threshold:</td><td><input type="text" class="form-inline" id="SoftThreshold", value="1,2,3,4,5,6,7,8,9"></td></tr> + <tr><td>Power:</td><td><input type="text" class="form-inline" id="Power", value="6"></td></tr> + <tr><td>Minimum module size:</td><td><input type="text" class="form-inline" id="MinModuleSize", value="30"></td></tr> + <tr><td>TOMtype:</td><td><input type="text" class="form-inline" id="TOMtype", value="unsigned"></td></tr> + <tr><td>mergeCutHeight:</td><td><input type="text" class="form-inline" id="mergeCutHeight", value="0.25"></td></tr> + </table> + <input type="submit" class="btn btn-primary" value="Run WGCNA using these settings" /> + </div> +</form> +{% endblock %} + |