From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/wgcna_results.html | 76 ++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 gn2/wqflask/templates/wgcna_results.html (limited to 'gn2/wqflask/templates/wgcna_results.html') diff --git a/gn2/wqflask/templates/wgcna_results.html b/gn2/wqflask/templates/wgcna_results.html new file mode 100644 index 00000000..0dc030b1 --- /dev/null +++ b/gn2/wqflask/templates/wgcna_results.html @@ -0,0 +1,76 @@ +{% extends "base.html" %} +{% block title %}WCGNA results{% endblock %} + +{% block content %} +
+

WGCNA Results

+ Analysis found {{results['nmod']}} modules when scanning {{results['nphe']}} phenotypes, measured on {{results['nstr']}} strains.
+ Additional parameters settings: + + +

Soft threshold table

+ + + {% for r in range(powers[0][0]|length) %} + {% if powers[0][1][r] > 0.85 %} + + {% elif powers[0][1][r] > 0.75 %} + + {% else %} + + {% endif %} + {% for c in range(powers[0]|length) %} + + {% endfor %} + + {% endif %} + + {% endfor %} +
PowerSFT.R.sqslopetruncated.R.sqmean.kmedian.kmax.kAnalysis
{{powers[0][c][r]|round(3)}} + {% if powers[0][1][r] > 0.75 %} +
+

WGCNA module plot

+ + Embedded Image + + +

Phenotype / Module table

+ + + {% for r in range(results['nphe']) %} + + + + + {% endfor %} +
PhenotypeModule
{{results['phenotypes'][r][0]}}{{results['network'][0][r]}}
+ +

Module eigen genes

+ + + {% for m in range(results['nmod']) %} + + {% endfor %} + + {% for r in range(results['nstr']) %} + + + {% for m in range(results['nmod']) %} + + {% endfor %} + + {% endfor %} +
Phenotype
{{results['strains'][r][0]}}{{results['network'][2][m][r]}}
+
+{% endblock %} + -- cgit 1.4.1