plotSubCurve: Plot substance curve for several simulations

Description Usage Arguments Value

View source: R/Stuff.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 documentation built on July 2, 2020, 3:16 a.m.