From bdbb0fab5b30a9413491c0ad36585d6c5c671d22 Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 17 Aug 2020 12:52:22 -0500 Subject: Placed X/Y trait info before the table on the correlation scatterplot page * wqflask/wqflask/templates/corr_scatterplot.html - reordered table and X/Y trait info divs --- wqflask/wqflask/templates/corr_scatterplot.html | 108 ++++++++++++------------ 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/wqflask/wqflask/templates/corr_scatterplot.html b/wqflask/wqflask/templates/corr_scatterplot.html index 5877e367..6f0511e1 100644 --- a/wqflask/wqflask/templates/corr_scatterplot.html +++ b/wqflask/wqflask/templates/corr_scatterplot.html @@ -132,44 +132,8 @@

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StatisticValue
Number{{jsdata.num_overlap}}
Slope{{ jsdata.slope_string }}
Intercept{{'%0.3f' % jsdata.intercept}}
r value{{'%0.3f' % jsdata.r_value}}
P value{% if jsdata.p_value < 0.001 %}{{'%0.3e' % jsdata.p_value}}{% else %}{{'%0.3f' % jsdata.p_value}}{% endif %}
- Regression Line -
- y = {{ jsdata.slope_string }} * x {% if jsdata.intercept < 0 %}- {{'%0.3f' % (jsdata.intercept * -1)}}{% else %}+ {{'%0.3f' % jsdata.intercept}}{% endif %} -
-
-
+
+
{% if trait_1.dataset.type == "ProbeSet" %}
X axis: @@ -240,15 +204,7 @@
{% endif %}
-
-
- -
-
-
-
-
-
+
@@ -260,31 +216,39 @@ - + - + - + - + - +
StatisticValue
Slope{{ jsdata.srslope_string }}{{ jsdata.slope_string }}
Intercept{{'%0.3f' % jsdata.srintercept}}{{'%0.3f' % jsdata.intercept}}
r value{{'%0.3f' % jsdata.srr_value}}{{'%0.3f' % jsdata.r_value}}
P value{% if jsdata.srp_value < 0.001 %}{{'%0.3e' % jsdata.srp_value}}{% else %}{{'%0.3f' % jsdata.srp_value}}{% endif %}{% if jsdata.p_value < 0.001 %}{{'%0.3e' % jsdata.p_value}}{% else %}{{'%0.3f' % jsdata.p_value}}{% endif %}
Regression Line
- y = {{ jsdata.srslope_string }} * x {% if jsdata.srintercept < 0 %}- {{'%0.3f' % (jsdata.srintercept * -1)}}{% else %}+ {{'%0.3f' % jsdata.srintercept}}{% endif %} + y = {{ jsdata.slope_string }} * x {% if jsdata.intercept < 0 %}- {{'%0.3f' % (jsdata.intercept * -1)}}{% else %}+ {{'%0.3f' % jsdata.intercept}}{% endif %}
+
-
+
+ +
+
+
+
+
+
{% if trait_1.dataset.type == "ProbeSet" %}
X axis: @@ -335,6 +299,42 @@
{% endif %}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StatisticValue
Number{{jsdata.num_overlap}}
Slope{{ jsdata.srslope_string }}
Intercept{{'%0.3f' % jsdata.srintercept}}
r value{{'%0.3f' % jsdata.srr_value}}
P value{% if jsdata.srp_value < 0.001 %}{{'%0.3e' % jsdata.srp_value}}{% else %}{{'%0.3f' % jsdata.srp_value}}{% endif %}
+ Regression Line +
+ y = {{ jsdata.srslope_string }} * x {% if jsdata.srintercept < 0 %}- {{'%0.3f' % (jsdata.srintercept * -1)}}{% else %}+ {{'%0.3f' % jsdata.srintercept}}{% endif %} +
+
-- cgit 1.4.1