saezlab / CARNIVAL

CAusal Reasoning for Network Identification with integer VALue programming in R
https://saezlab.github.io/CARNIVAL/
57 stars 29 forks source link

Saving CARNIVAL outputs #17

Closed LaraFuhrmann closed 4 years ago

LaraFuhrmann commented 4 years ago

Dear all, I have some problems saving the outputs of runCARNIVAL() , e.g. weighted_Model.txt, nodesAttribute.txt. etc. These files are just not saved, they appear nowhere on my computer. The only thing being saved when running the function is the DOT-figure. I have already tried giving an absolute path and just the directory (as input for 'dir_name'), and with and without DOTfigure saving. Do you have an idea what could be the reason?

enio23 commented 4 years ago

Hello,

you can assign a variable to the runCARNIVAL function: result = runCARNIVAL(). The 'result' object contains a list of results (weighted_Model, nodesAttribute, tables etc.) which you can save at any directory you wish as .txt files.

Cheers,