Kumquatum/GWENA

Error in WGCNA::bicor(x, use = "e") : Unrecognized parameter

Closed this issue · 1 comments

Hi,
the value "e" of the use argument you pass to WGCNA::bicor() in .cor_func_match() is not recognized and results in error:

net_bicor <- GWENA::build_net(
  vst_counts_filtered,
  cor_func = "bicor",
  n_threads = 4
)

> Error in WGCNA::bicor(x, use = "e") : 
  Unrecognized parameter 'use'. Recognized values are 
 'all.obs', 'pairwise.complete.obs'

If I'm not mistaken, inside WGCNA::bicor() the use parameter is used when calculating pearson correlation, so in theory, it should accept "e", but authors decided to disallow it.

> packageVersion("WGCNA")
[1] ‘1.70.3’
> packageVersion("GWENA")
[1] ‘1.0.1’

You are right. The argument has been changed in this commit 02e8bc1

Thank you for your help !