getReactions: Retrieves the stochastic model for an in silico system

View source: R/stochastic_simulation.R

getReactionsR Documentation

Retrieves the stochastic model for an in silico system

Description

Returns a data-frame with the list of reactions with associated name and rate in the stochastic model generated from the in silico system. If an in silico population is provided, the rate of each reaction will be calculated for each in silico individual in the population.

Usage

getReactions(insilicosystem, insilicopopulation = NULL)

Arguments

insilicosystem

The in silico system to be simulated (see createInSilicoSystem).

insilicopopulation

Optional, the in silico population to be simulated (see createInSilicoPopulation).

Value

A data-frame, with the following columns:

  • reaction: the stochastic reaction;

  • reaction_name: the name of the stochastic reaction;

  • reaction_rate: the formula to compute the reaction rate, as a character.

In addition, if an in silico population is provided, the data-frame will include one column per in silico individual with the rate of the reactions for the individual.

Examples

## Not run: 
mysystem = createInSilicoSystem(G = 5)
getReactions(mysystem)

## End(Not run)

oliviaAB/sismonr documentation built on June 25, 2022, 11:59 p.m.