diff options
-rw-r--r-- | wqflask/wqflask/templates/phewas_analysis.html | 4 | ||||
-rw-r--r-- | wqflask/wqflask/templates/show_trait_PheWAS_tools.html | 16 |
2 files changed, 13 insertions, 7 deletions
diff --git a/wqflask/wqflask/templates/phewas_analysis.html b/wqflask/wqflask/templates/phewas_analysis.html index 4dbc071f..91c47a10 100644 --- a/wqflask/wqflask/templates/phewas_analysis.html +++ b/wqflask/wqflask/templates/phewas_analysis.html @@ -10,12 +10,12 @@ {%- endfor %} <h2>Top 5 PheWAS hits</h2> <table width="100%"> - <tr><th>GN ID</th><th>Phenotype</th><th>Phenosome</th><th>LOD</th></tr> + <tr><th>GN ID</th><th width="60%">Phenotype</th><th>Phenosome</th><th>LOD</th><th>LOD<sub>( {{ results['mtadjust'] }} )</sub></th></tr> {% for r in range(5) %} <tr> {% for c in range(results['tabulardata']|length) %} <td> - {% if c == 3 %} + {% if c >= 3 %} {{results['tabulardata'][c][r]|float|round(2)}} {% else %} {{results['tabulardata'][c][r]}} diff --git a/wqflask/wqflask/templates/show_trait_PheWAS_tools.html b/wqflask/wqflask/templates/show_trait_PheWAS_tools.html index d8193652..d4e9ae66 100644 --- a/wqflask/wqflask/templates/show_trait_PheWAS_tools.html +++ b/wqflask/wqflask/templates/show_trait_PheWAS_tools.html @@ -17,24 +17,30 @@ <div class="tab-pane active" id="PheWAS"> <div style="margin-top: 25px" class="form-horizontal"> <br>PheWAS options: +<!-- <div class="mapping_method_fields form-group"> - <label for="strain_limit" style="text-align:left;" class="col-xs-3 control-label">Strain limit</label> + <label for="num_strain_limit" style="text-align:left;" class="col-xs-3 control-label">Strain limit</label> <div style="margin-left: 20px;" class="col-xs-4 controls"> <input name="num_strain_limit" value="15" type="text" class="form-control"> </div> - </div> + </div> --> <div class="mapping_method_fields form-group"> - <label for="strain_limit" style="text-align:left;" class="col-xs-3 control-label">Plot rotation</label> + <label for="num_region" style="text-align:left;" class="col-xs-3 control-label">Region size</label> <div style="margin-left: 20px;" class="col-xs-4 controls"> - <input name="num_rotation" value="30" type="text" class="form-control"> + <input name="num_region" value="2" type="text" class="form-control"> </div> </div> <div class="mapping_method_fields form-group"> <label for="mtadjust" style="text-align:left;" class="col-xs-3 control-label">P adjustment</label> <div style="margin-left: 20px;width: 225px;" class="col-xs-4 controls"> <select name="sel_mtadjust" class="form-control"> - <option value="qvalue">False Discovery Rate</option> + <option value="fdr">False Discovery Rate</option> <option value="BH">Benjamini Hochberg</option> + <option value="holm">Holm</option> + <option value="hochberg">Hochberg</option> + <option value="hommel">Hommel</option> + <option value="bonferroni">Bonferroni</option> + </select> </div> </div> |