Learn R Programming

BacArena (version 1.0.1)

growExp: Function for letting organisms grow exponentially

Description

The generic function growExp implements a growth model of organisms in their environment.

Usage

growExp(object, growth)
"growExp"(object, growth)

Arguments

object
An object of class Organisms.
growth
A number indicating the current biomass, which has to be updated.

Value

Returns the updated biomass of the organisms of interest.

Details

Exponential growth of organisms is implemented by adding the calculated growthrate multiplied with the current growth calculated by optimizeLP plus to the already present growth value

See Also

Organism-class and optimizeLP

Examples

Run this code
## Not run: 
# data(Ec_core, envir = environment()) #get Escherichia coli core metabolic model
# org <- Organism(Ec_core,deathrate=0.05,
#            growthlimit=0.05,growtype="exponential") #initialize a organism
# growExp(org,1)
# ## End(Not run)

Run the code above in your browser using DataLab