"fluxDistribution"
Structure of the class "fluxDistribution"
. Objects of that class are
used by class "'>optsol"
in order to store flux
distributions. Flux distributions are stored column by column; each flux
corresponds to one row and the optimizations correspond to the columns.
Objects can be created by calls of the form
test <- fluxDistribution(fluxes, nrow = 1, ncol = 1
.
If argument fluxes
is of class Matrix
or matrix
,
num_of_fluxes
is set to ncol(fluxes) * nrow(fluxes)
.
If argument fluxes
is a vector, a matrix will be generated according
to nrow
and ncol
.
fluxes
:Object of class "Matrix"
containing fluxdistributions column by
column.
num_of_fluxes
:Object of class "integer"
containing the number of elements in
fluxes
.
[
signature(x = "fluxDistribution")
: subsetting operator for the
matrix of flux distributions.
fluxes
signature(object = "fluxDistribution")
: gets the fluxes
slot.
fluxes<-
signature(object = "fluxDistribution")
: sets the fluxes
slot.
num_of_fluxes
signature(object = "fluxDistribution")
: gets the
num_of_fluxes
slot.
nnzero
signature(object = "fluxDistribution")
: gets the number of
non-zero elements in slot fluxes
.
nvar
signature(object = "fluxDistribution")
: gets the number of
fluxes in the fluxdistribution in slot fluxes
(the number of rows
of slot fluxes
).
plot
signature(x = "fluxDistribution", y = "missing")
: heatmap like
plotting method for fluxdistributions. Not finished yet.
# NOT RUN {
showClass("fluxDistribution")
# }
Run the code above in your browser using DataLab