Learn R Programming

BacArena (version 1.0.1)

growLin: Function for letting organisms grow linearly

Description

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

Usage

growLin(object, growth)
"growLin"(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

Linear growth of organisms is implemented by adding the calculated growthrate by optimizeLP to the already present growth value.

See Also

Organism-class and optimizeLP

Examples

Run this code
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
growLin(org,1)

Run the code above in your browser using DataLab