Learn R Programming

sybil (version 2.2.0)

fluxDistribution-class: Class "fluxDistribution"

Description

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.

Arguments

Objects from the Class

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.

Slots

fluxes:

Object of class "Matrix" containing fluxdistributions column by column.

num_of_fluxes:

Object of class "integer" containing the number of elements in fluxes.

Methods

[

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.

Examples

Run this code
# NOT RUN {
  showClass("fluxDistribution")
# }

Run the code above in your browser using DataLab