federicogiorgi / corto

corto (Correlation Tool): an R package to generate correlation-based DPI networks
20 stars 7 forks source link

error with mra function #7

Closed cagenet closed 1 year ago

cagenet commented 1 year ago

Hi Federico, I hope that you are fine. I used corto and the mra function for 2 datasets. For the first one, there was no trouble. But for the second dataset I obtained the following error

> mra_netdegs<-mra(bmpdegs,ctrldegs,regDEGs, nthreads = 16, minsize = 10)
  |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=01m 16s
Error in if (p == 0) { : missing value where TRUE/FALSE needed

I really don't understand what this error stand ....Can you give me any advice, please? Thank you in advance Cheers Carine