createStochSystem: Creates a stochastic system from an in silico system.
Description
Creates a list of molecules, reactions and associated propensities to represent the in silico system.
Usage
createStochSystem(
insilicosystem,
writefile = F,
filepath = NULL,
filename = "simulation",
verbose = T,
ev = getJuliaEvaluator()
)
Arguments
writefile
Does the julia function write the species and reactions lists in a text file?
filepath
If writefile = TRUE, path to the folder in which the files will be created (default: current working directory).
filename
If writefile = TRUE, prefix of the files created to store the lists of species and reactions (default: none).
verbose
If TRUE (default), print messages to signal the start and finish of the function.
ev
A Julia evaluator (for the XRJulia). If none provided select the current evaluator or create one if no evaluator exists.
Value
A Julia proxy object to retrieve the stochastic system in the Julia evaluator.
Examples
Run this code# NOT RUN {
mysystem = createInSilicoSystem(G = 5)
stochsys = createStochSystem(mysystem)
# }
Run the code above in your browser using DataLab