juanbot / CoExpNets

Co-expression network management based on WGCNA + k-means
Apache License 2.0
16 stars 8 forks source link

Error in initDb(mode = "empty") #1

Closed SoniaRuiz closed 5 years ago

SoniaRuiz commented 5 years ago

The following two instructions returns an error:

CoExpROSMAP::initDb() Error in initDb(mode = "empty") : unused argument (mode = "empty")

CoExpGTEx::initDb() Error in initDb(mode = "empty") : unused argument (mode = "empty")

Could this error be related with line 156 of netdb.R?

juanbot commented 5 years ago

Solved. I added

if(!exists("coexp.nets")) CoExpNets::initDb(mode="empty")

To line 159 of netdb.R

SoniaRuiz commented 5 years ago

I have reopen the issue because a new error is now returned:

CoExpROSMAP::initDb() Error: 'initDb' is not an exported object from 'namespace:CoExpNets' CoExpGTEx::initDb() Error: 'initDb' is not an exported object from 'namespace:CoExpNets'

juanbot commented 5 years ago

I think it is solved now... Try reinstalling CoExpNets again please

SoniaRuiz commented 5 years ago

I have reinstalled CoExpNets, but a new error has been returned:

CoExpROSMAP::initDb() Adding new network notad to the category CoExpROSMAP to the database Error in coexp.nets[nrow(coexp.nets) + 1, ] <- c(which.one, tissue, netfile, : número de subscritos incorretos en matriz CoExpGTEx::initDb() Adding new network AdiposeSub to the category gtexv6 to the database Error in coexp.nets[nrow(coexp.nets) + 1, ] <- c(which.one, tissue, netfile, : número de subscritos incorretos en matriz

juanbot commented 5 years ago

Solved now... I tried everything from scratch, should be working now

SoniaRuiz commented 5 years ago

Yes!! It works perfectly! Close this issue.