aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-07-09 21:41:11 +0000
committerzsloan2021-07-09 21:41:11 +0000
commit8dcb6972e4be972a37defdf96415fda7ffaac3db (patch)
tree5902b23fbb37473a57fd18151c8571cd751ebd69 /wqflask
parentfd726da54c9e65c0721de6f8181c2dde93831a7a (diff)
downloadgenenetwork2-8dcb6972e4be972a37defdf96415fda7ffaac3db.tar.gz
Remove commented out function do_bicor
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 = []