Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotSubCurve

Plot substance curve for several simulations


Description

The function plotSubCurve takes a list of simulations and plots the time course of substances with standard deviation.

Usage

plotSubCurve(
  simlist,
  mediac = NULL,
  time = c(NULL, NULL),
  scol = NULL,
  unit = "mmol",
  ret_data = FALSE,
  num_var = 10,
  useNames = FALSE
)

Arguments

simlist

A list of simulations (eval objects).

mediac

A vector of substances (if not specified most varying substances will be taken.)

time

Vector with two entries defining start and end time.

scol

Vector with colors that should be used.

unit

Unit for the substances which should be used for plotting (default: mmol)

ret_data

Set true if data should be returned

num_var

Number of varying substances to be shown (if mediac is not specified)

useNames

Use substance names instead of ids

Value

list of three ggplot object for further formating


BacArena

Modeling Framework for Cellular Communities in their Environments

v1.8.2
GPL-3 | file LICENSE
Authors
Eugen Bauer [aut], Johannes Zimmermann [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.