"summaryOptsol"Class summaryOptsol stores a summary of instances of class
'>optsol.
Objects can be created by calls of the form summaryOptsol(opt, mod).
mod_id:Object of class "character"
containing the model id of the analyzed model.
mod_key:Object of class "character"
containing the model key of the used model.
nzeros:Object of class "integer"
giving the number of zeros in the flux distribution.
nnonzero:Object of class "integer"
giving the number of non-zeros in the flux distribution.
mod_obj:Object of class "numeric"
containing the objective coefficients of the model.
ex_met:Object of class "character"
containing the id's of exchange metabolites. These are metabolites which
are transported across the system boundary.
ex_val:Object of class "Matrix"
with each column being the flux distribution of the exchange metabolites
of one optimization.
react_id:Object of class "list"
with each list element containing a set of reaction id's limiting one
optimization. A reactions is considered as “limiting”, if it
has a non-zero flux value and if its flux value hits an upper or lower
bound.
chksol:Object of class "checksol"
describing return values of the mathematical programming software and
solution status.
signature(object = "summaryOptsol"):
gets the ex_met slot.
signature(object = "summaryOptsol"):
gets the ex_val slot.
plot:signature(x = "summaryOptsol"):
plots a histogram of the values of the objective function
in optimal state. Additional arguments can be passed to
histogram via the … argument.
signature(x = "summaryOptsol"):
plots a grey-scale representation of the exchange fluxes of the flux
distribution. Black: metabolite is produced, grey: metabolite is imported.
Further arguments are:
printOutA single logical value. If set to FALSE, a
trellis.object is returned invisibly.
Otherwise, a plot is drawn additionally.
Default: TRUE.
...Further arguments to image-methods.
signature(object = "summaryOptsol"):
gets the mod_id slot.
signature(object = "summaryOptsol"):
sets the mod_id slot.
signature(object = "summaryOptsol"):
gets the mod_key slot.
signature(object = "summaryOptsol"):
sets the mod_key slot.
signature(object = "summaryOptsol"):
gets the mod_obj slot.
signature(object = "summaryOptsol"):
sets the mod_obj slot.
signature(object = "summaryOptsol"):
gets the nnonzero slot.
signature(object = "summaryOptsol"):
gets the nzeros slot.
signature(object = "summaryOptsol"):
prints a matrix indicating wether a particular metabolite is taken up or
produced by the metabolic network given certain conditions. Each line
corresponds to one metabolite and each column to one optimization.
A "-" indicates uptake and "+" indicates excretion. A
whitespace character " " is used, if the metabolite is unused.
Further arguments are:
iA numeric vector indicating the metabolites (rows) to print:
i[x] points to matabolite ec_met(object)[x].
jA numeric vector indicating the optimizations (columns) to print.
denseA single Boolean value. If set to TRUE, each column has a
column with of one letter.
Constructor function summaryOptsol,
class '>optsol and class '>modelorg.
# NOT RUN {
showClass("summaryOptsol")
# }
Run the code above in your browser using DataLab