jpahle / CoRC

The Copasi R connector, a high-level R API for Copasi

Home Page:https://jpahle.github.io/CoRC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running 2019 PloS Comp Biol iron metabolism model of Parmar and Mendes

radivot opened this issue · comments

Wondering if you could guide me to getting this code to give time course results.
The cps files are here cpsFiles.zip

library(CoRC)
unloadAllModels()
(L=loadExamples())
runTC(model=L[[1]]) #runs fine
path="~/ccf/jarek/grants/msb/iron/parmar19sup/cps/"
(m0=loadModel(paste0(path,"IronMousePV3.cps")))
runTC(model=m0) # no results
(m1=loadModel(paste0(path,"IronMousePV3_Hemochromatosis.cps")))
runTC(model=m1) # no results

Hey radivot,

those models have save result in memory for the time course task disabled.
You can use runTC(save_result_in_memory = TRUE, model=m0).

Unfortunately, this is one of the easiest traps for fall into when trying out CoRC with certain models.
If you open the .cps file in Copasi and run the task, the result table will also be empty.

Best,
Jonas