aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/correlation/rust_correlation.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py
index 3330cce9..b2a0e3a0 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -72,7 +72,11 @@ def get_metadata(dataset, traits):
"additive": additive,
"lrs_score": f"{lrs:3.1f}",
"location": __location__(probe_chr, probe_mb),
- "lrs_location": f"Chr{chr_score}: {mb:.6f}"
+ "chr": probe_chr,
+ "mb": probe_mb,
+ "lrs_location": f"Chr{chr_score}: {mb:.6f}",
+ "lrs_chr": chr_score,
+ "lrs_mb": mb
} for trait_name, probe_chr, probe_mb, symbol, mean, description,
additive, lrs, chr_score, mb