aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index 91716a6a..bebef9e7 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -158,23 +158,6 @@ def correlation_json_for_table(correlation_data, this_trait, this_dataset, targe
return json.dumps(results_list)
-# def do_bicor(this_trait_vals, target_trait_vals):
-# r_library = ro.r["library"] # Map the library function
-# r_options = ro.r["options"] # Map the options function
-
-# r_library("WGCNA")
-# r_bicor = ro.r["bicorAndPvalue"] # Map the bicorAndPvalue function
-
-# r_options(stringsAsFactors=False)
-
-# this_vals = ro.Vector(this_trait_vals)
-# target_vals = ro.Vector(target_trait_vals)
-
-# the_r, the_p, _fisher_transform, _the_t, _n_obs = [
-# numpy.asarray(x) for x in r_bicor(x=this_vals, y=target_vals)]
-
-# return the_r, the_p
-
def generate_corr_json(corr_results, this_trait, dataset, target_dataset, for_api=False):
results_list = []