Closed SoniaRuiz closed 5 years ago
library(CoExpROSMAP) CoExpROSMAP::initDb() tissues <- c("ad","notad") genes <- c("TTLL9","NAGA","RIBC2","NME2","SLC25A34","ZNF470") CoExpNets::reportOnGenesMultipleTissue(tissues=tissues,which.one="CoExpROSMAP",genes=genes)
This should work like that
It still returns the same error:
library(CoExpROSMAP) CoExpROSMAP::initDb() Adding 1st net to the DDBBAdding new network probad to the category CoExpROSMAP to the database Adding new network ad to the category CoExpROSMAP to the database Adding new network allsamples to the category CoExpROSMAP to the database tissues <- c("ad","notad") genes <- c("TTLL9","NAGA","RIBC2","NME2","SLC25A34","ZNF470") CoExpNets::reportOnGenesMultipleTissue(tissues=tissues,which.one="CoExpROSMAP",genes=genes) Reading from /home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds Error in readRDS(expr.dataf) : bad 'file' argument
PS: I have reinstalled all packages before testing it again.
Can you do readRDS("/home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds”) ?
Juan A. Botía Professor in Computer Science and Artificial Intelligence, Universidad de Murcia, Spain Hon. Senior Research Fellow, Institute of Neurology, University College London, UK
On 11 Feb 2019, at 13:22, Sonia Garcia notifications@github.com wrote:
It still returns the same error:
library(CoExpROSMAP) CoExpROSMAP::initDb() Adding 1st net to the DDBBAdding new network probad to the category CoExpROSMAP to the database Adding new network ad to the category CoExpROSMAP to the database Adding new network allsamples to the category CoExpROSMAP to the database tissues <- c("ad","notad") genes <- c("TTLL9","NAGA","RIBC2","NME2","SLC25A34","ZNF470") CoExpNets::reportOnGenesMultipleTissue(tissues=tissues,which.one="CoExpROSMAP",genes=genes) Reading from /home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds Error in readRDS(expr.dataf) : bad 'file' argument
PS: I have reinstalled all packages before testing it again.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/juanbot/CoExpNets/issues/2#issuecomment-462309062, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWLNGUIipb6nZ70YmRvGJWnghfqnZq9ks5vMWBzgaJpZM4ak6P1.
Yes, I can:
>library(CoExpNets) >library(CoExpROSMAP) >CoExpROSMAP::initDb() Network notad in category CoExpROSMAP already exists, we can´t overwrite Network probad in category CoExpROSMAP already exists, we can´t overwrite Network ad in category CoExpROSMAP already exists, we can´t overwrite Network allsamples in category CoExpROSMAP already exists, we can´t overwrite >tissues <- c("ad","notad") >genes <- c("TTLL9","NAGA","RIBC2","NME2","SLC25A34","ZNF470") >CoExpNets::reportOnGenesMultipleTissue(tissues=tissues,which.one="CoExpROSMAP",genes=genes) Reading from /home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds Error in readRDS(expr.dataf) : bad 'file' argument >summary(readRDS("/home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds")) Length Class Mode moduleLabels 18167 -none- numeric moduleColors 18167 -none- character MEs 51 data.frame list
Can you do initDb(mandatory=T) so you rewrite what is in memory?
Juan A. Botía Professor in Computer Science and Artificial Intelligence, Universidad de Murcia, Spain Hon. Senior Research Fellow, Institute of Neurology, University College London, UK
On 11 Feb 2019, at 14:30, Sonia Garcia notifications@github.com wrote:
Yes, I can:
library(CoExpNets) library(CoExpROSMAP) CoExpROSMAP::initDb() Network notad in category CoExpROSMAP already exists, we can´t overwrite Network probad in category CoExpROSMAP already exists, we can´t overwrite Network ad in category CoExpROSMAP already exists, we can´t overwrite Network allsamples in category CoExpROSMAP already exists, we can´t overwrite tissues <- c("ad","notad") genes <- c("TTLL9","NAGA","RIBC2","NME2","SLC25A34","ZNF470") CoExpNets::reportOnGenesMultipleTissue(tissues=tissues,which.one="CoExpROSMAP",genes=genes) Reading from /home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds Error in readRDS(expr.dataf) : bad 'file' argument summary(readRDS("/home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds")) Length Class Mode moduleLabels 18167 -none- numeric moduleColors 18167 -none- character MEs 51 data.frame list
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/juanbot/CoExpNets/issues/2#issuecomment-462327564, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWLNKjymQ1xAm6kdANnb6QbCUql41A9ks5vMXB3gaJpZM4ak6P1.
Yes, I can:
>CoExpROSMAP::initDb(mandatory=T) Network notad in category CoExpROSMAP already exists, we can´t overwrite Network probad in category CoExpROSMAP already exists, we can´t overwrite Network ad in category CoExpROSMAP already exists, we can´t overwrite Network allsamples in category CoExpROSMAP already exists, we can´t overwrite >tissues <- c("ad","notad") >genes <- c("TTLL9","NAGA","RIBC2","NME2","SLC25A34","ZNF470") >CoExpNets::reportOnGenesMultipleTissue(tissues=tissues,which.one="CoExpROSMAP",genes=genes) Reading from /home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds Error in readRDS(expr.dataf) : bad 'file' argument >summary(readRDS("/home_2/gsit/RLibrary/CoExpROSMAP//extdata/netad.8.it.50.rds")) Length Class Mode moduleLabels 18167 -none- numeric moduleColors 18167 -none- character MEs 51 data.frame list
I have discovered the error in findData method in CoExpNets. Would you please update both packages please? Thanks Sonia
It works perfectly!! Awesome! Thanks!!
The following error is returned on 'reportOnGenesMultipleTissue' function: