From d2a54e01050401acd7fd40261bf73fb4444dd046 Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 15 Dec 2023 21:13:59 +0000 Subject: Make correlation and mapping CSS for trait page the same --- wqflask/wqflask/static/new/css/show_trait.css | 14 +---- .../show_trait_calculate_correlations.html | 69 +++++++++++----------- .../templates/show_trait_mapping_tools.html | 6 +- 3 files changed, 40 insertions(+), 49 deletions(-) diff --git a/wqflask/wqflask/static/new/css/show_trait.css b/wqflask/wqflask/static/new/css/show_trait.css index f20271b7..577bb5dd 100644 --- a/wqflask/wqflask/static/new/css/show_trait.css +++ b/wqflask/wqflask/static/new/css/show_trait.css @@ -122,14 +122,6 @@ div.scatterplot-btn-div { margin-bottom:40px; } -div.correlation-main { - min-width: 1200px; -} - -div.correlation-options { - min-width: 700px; -} - .min-expr-field { width: 70px; } @@ -171,17 +163,17 @@ div.normalize-div { margin-top:10px; } -div.mapping-main { +div.main { display: block; } -div.mapping-options { +div.options { float: left; width: 600px; padding-top: 0px; } -div.mapping-descriptions { +div.descriptions { float: left; width: 500px; min-width: 20%; diff --git a/wqflask/wqflask/templates/show_trait_calculate_correlations.html b/wqflask/wqflask/templates/show_trait_calculate_correlations.html index 33100484..0899b6a4 100644 --- a/wqflask/wqflask/templates/show_trait_calculate_correlations.html +++ b/wqflask/wqflask/templates/show_trait_calculate_correlations.html @@ -1,5 +1,5 @@ -
-
+
+
@@ -129,38 +129,37 @@
-
-
- - The Sample Correlation - is computed - between trait data and any - other traits in the sample database selected above. Use - Spearman - Rank - when the sample size is small (<20) or when there are influential outliers. - - - -
+
+
+
+
Sample Correlation
+
The Sample Correlation + is computed + between trait data and any + other traits in the sample database selected above. Use + Spearman + Rank + when the sample size is small (<20) or when there are influential outliers.
+
Literature Correlation
+
The Literature Correlation + (Lit r) between + this gene and all other genes is computed
+ using the + Semantic Gene Organizer + and human, rat, and mouse data from PubMed. + Values are ranked by Lit r, but Sample r and Tissue r are also displayed.
+ More on using Lit r
+
Tissue Correlation
+
The Tissue Correlation + (Tissue r) + estimates the similarity of expression of two genes + or transcripts across different cells, tissues, or organs + (glossary). + Tissue correlations + are generated by analyzing expression in multiple samples usually taken from single cases.
+ Pearson and Spearman Rank correlations have been + computed for all pairs of genes using data from mouse samples.
+
+
diff --git a/wqflask/wqflask/templates/show_trait_mapping_tools.html b/wqflask/wqflask/templates/show_trait_mapping_tools.html index b8220297..f1ed8922 100755 --- a/wqflask/wqflask/templates/show_trait_mapping_tools.html +++ b/wqflask/wqflask/templates/show_trait_mapping_tools.html @@ -1,6 +1,6 @@ -
+
{% if dataset.group.mapping_names|length > 0 %} -
+
-
+
{% for mapping_method in dataset.group.mapping_names %} -- cgit v1.2.3