From 22203aa0c7bdcc7b5576bb7904a3b1a738b80f6b Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 May 2022 12:46:59 +0300 Subject: Add UI for partial correlation against selected targets --- .../pcorrs_select_operations.html | 33 +++++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html b/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html index 4b5bc635..e1e392c6 100644 --- a/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html +++ b/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html @@ -29,11 +29,15 @@ {%endwith%} -
Primary (X) | Controls (Z) | +Targets (Y) | Ignored | Dataset | Trait ID | @@ -52,17 +56,22 @@+ value="primary_{{trait['trait_name']}}" /> | + value="controls_{{trait['trait_name']}}" /> | + value="target_{{trait['trait_name']}}" checked="checked" /> + | ++ | {{trait.get("dataset", "_")}} | {{trait.get("trait_name", "_")}} | @@ -77,6 +86,22 @@
---|
Compute partial correlations for target selected above:
+ + + +OR
+Compute partial correlation for each trait in the database below:
+