From 4579b9512f7df132ea0414f192d482adf6afaaff Mon Sep 17 00:00:00 2001 From: John Elizarraras Date: Tue, 31 Oct 2023 15:13:06 -0500 Subject: [PATCH] fix name of function and return value --- webgestalt_lib/src/methods/multiomics.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webgestalt_lib/src/methods/multiomics.rs b/webgestalt_lib/src/methods/multiomics.rs index 208a9ca..774e9a9 100644 --- a/webgestalt_lib/src/methods/multiomics.rs +++ b/webgestalt_lib/src/methods/multiomics.rs @@ -119,7 +119,7 @@ pub fn multiomic_gsea(jobs: Vec, method: MultiOmicsMethod) -> Vec, method: MultiOmicsMethod) { +pub fn multiomic_ora(jobs: Vec, method: MultiOmicsMethod) -> Vec> { match method { MultiOmicsMethod::Meta(meta_method) => { let mut phash: AHashMap> = AHashMap::default(); @@ -165,6 +165,8 @@ pub fn multiomics_ora(jobs: Vec, method: MultiOmicsMethod) { } } } + results.insert(0, final_result); + results } _ => { panic!("Multi-Omics ORA can only be run with meta-analysis");