lysis: Lysis function of organismal cells by adding biomass_compounds to the medium
Description
The generic function lysis
implements cell lysis by the stochiometric concentration of the biomass compounds of organisms to the concentration of substances in the environment
Usage
lysis(object, sublb, factor = object@minweight)# S4 method for Organism
lysis(object, sublb, factor = object@minweight)
Arguments
object
An object of class Organisms.
sublb
A vector containing the substance concentrations in the current position of the individual of interest.
factor
A number given the factor with which the biomass compound concentrations are multiplied to achieve the final concentration which is added to the environment
Value
Returns the updated vector containing the substance concentrations in the current position of the dead individual of interest.
Details
Lysis is implemented by taking the intersect between biomass compounds and the substances in the environment and adding the normalized stochiometric concentrations of the biomass compounds to the medium.