Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/sysBiolAlgClass.R
This function serves as a user constructor function for objects of class
sysBiolAlg
.
1 2 3 4 | sysBiolAlg(model,
algorithm = SYBIL_SETTINGS("ALGORITHM"),
prefix = "sysBiolAlg", sep = "_",
...)
|
model |
An object of class |
algorithm |
A single character string giving the name of the algorithm to use. See
parameter |
prefix |
A single character string containing a prefix for the new class name. |
sep |
A single character string containing a separator for |
... |
Further arguments passed to the initialize method depending on the desired algorithm (see Details below). |
If argument 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 values of arguments
prefix
and algorithm
are stick together separated by the value
of argument sep
: prefix_algorithm
.
Additional arguments required by the initialize method are for example
solver
, method
and solverParm
.
An instance of a subclass of
class sysBiolAlg
.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Class sysBiolAlg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
## 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")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.