about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Kabui2022-01-26 16:49:21 +0300
committerBonfaceKilz2022-02-09 08:49:56 +0300
commitac85680d7c422d28515d196f8cd88ca38b8df061 (patch)
tree9c7d673f734b710f9674532314d788f219fa705d
parent24f5ac52ab481f2d9da2c60f50e83dab1afa5c85 (diff)
downloadgenenetwork2-ac85680d7c422d28515d196f8cd88ca38b8df061.tar.gz
fix for ctl ui page
-rw-r--r--wqflask/wqflask/templates/ctl_setup.html6
-rw-r--r--wqflask/wqflask/templates/gn3_ctl_results.html21
2 files changed, 18 insertions, 9 deletions
diff --git a/wqflask/wqflask/templates/ctl_setup.html b/wqflask/wqflask/templates/ctl_setup.html
index 6f32db5e..b9fe1656 100644
--- a/wqflask/wqflask/templates/ctl_setup.html
+++ b/wqflask/wqflask/templates/ctl_setup.html
@@ -40,8 +40,8 @@
           <label for="corType" class="col-md-3 col-form-label col-form-label-sm">Types of correlation coefficients:</label>
           <div class="col-md-9">
             <select class="form-control  col-md-9" name="parametric" id="parametric">
-            <option value="pearson">pearson</option>
-            <option value="bicor">bicor</option>
+            <option value="False">spearman</option>
+            <option value="True">pearson</option>
           </select>
           </div>
 
@@ -49,7 +49,7 @@
 
 
             <div class="form-group row">
-      <label for="Permutations" class="col-md-3 col-form-label col-form-label-sm">Number of permutation (Used when strategy is Full or Pairwise)</label>
+      <label for="Permutations" class="col-md-3 col-form-label col-form-label-sm">Number of permutation <span style="color:red;">(Used when strategy is Full or Pairwise)</span></label>
       <div class="col-md-9">
         <select class="form-control" name="nperm" id="nperm">
           <option value="100">100</option>
diff --git a/wqflask/wqflask/templates/gn3_ctl_results.html b/wqflask/wqflask/templates/gn3_ctl_results.html
index 1bfe8da1..8402f518 100644
--- a/wqflask/wqflask/templates/gn3_ctl_results.html
+++ b/wqflask/wqflask/templates/gn3_ctl_results.html
@@ -19,7 +19,13 @@
 </style>
 <div style="margin-top:10px">
     <div>
-        <h3 style="text-align:center;">CTL/QTL Plots for Individual Traits</h3>
+
+        <div style="text-align: center;">
+        <h3>CTL/QTL Plots for Individual Traits</h3>
+         <h4> {{ctl_plots|length}} phenotypes as input</h4>
+            
+        </div>
+
 
     <div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
   <div class="carousel-inner">
@@ -56,12 +62,16 @@
     <h2 style="text-align:center">Significant CTL </h2>
     <table id="significance" width="80vw"></table>
 
-    <div>
+    <div style="text-align: center;margin-top: 20px;">
         <h3 style="text-align:center;">Network figure</h3>
 
-        <div>
-            <button type="button" class="btn btn-primary btn-lg">Download Network Sif File</button>
-<button type="button" class="btn btn-secondary btn-lg">Download Node file</button>
+        <div  style="margin-top: 20px;">
+
+<p>Use tools like cytoscape to visualize the network</p>
+
+<a href="/ctl_network_files/{{network_file_name}}/sif" class="btn btn-secondary btn-lg mx-2">Download Sif file</a>
+
+<a href="/ctl_network_files/{{network_file_name}}/nodes" class="btn btn-secondary btn-lg mx-2">Download Node file</a>
         </div>
     </div>
 
@@ -78,7 +88,6 @@
 <script type="text/javascript">
 
 
-
 let { data_set_rows, col_names } = {{ significance_data | safe }}