sysBiolAlg
sysBiolAlg
.sysBiolAlg(model,
algorithm = SYBIL_SETTINGS("ALGORITHM"),
prefix = "sysBiolAlg", sep = "_",
...)
modelorg
.SYBIL_SETTINGS("ALGORITHM")
."sysBiolAlg"
.prefix
and
algorithm
.
Default: "_"
.sysBiolAlg
.algorithm
is set to "foo"
and prefix
is set
to "sysBiolAlg"
(default), sysBiolAlg
will try to build an
instance of class sysBiolAlg_foo
. If no such class definition exists,
an error will be returned. For the name of the class, the arguemts
prefix
and algorithm
are stick together separated by sep
(default: a single underscore "_"
): prefix_algorithm
.
Additional arguments required by the initialize method are for example
solver
, method
and solverParm
.sysBiolAlg
## The examples here require the package glpkAPI to be
## installed. If that package is not available, you have to set
## the argument 'solver' (the default is: solver = SYBIL_SETTINGS("SOLVER")).
data(Ec_core)
## algorithm: fba (flux balance analysis)
fb <- sysBiolAlg(Ec_core, algorithm = "fba")
## algorithm: lmoma (linearized version of MOMA)
fb <- sysBiolAlg(Ec_core, algorithm = "lmoma")
Run the code above in your browser using DataLab