plotFluxes: Plot Fluxes given a list of flux Equations

View source: R/plots.R

plotFluxesR Documentation

Plot Fluxes given a list of flux Equations

Description

Plot Fluxes given a list of flux Equations

Usage

plotFluxes(pouter, x, times, fluxEquations, nameFlux = "Fluxes:", ...)

Arguments

pouter

parameters

x

The model prediction function x(times, pouter, fixed, ...)

times

Numeric vector of time points for the model prediction

fluxEquations

list of chars containing expressions for the fluxes, if names are given, they are shown in the legend. Easy to obtain via subset.eqnlist, see Examples.

nameFlux

character, name of the legend.

...

Further arguments going to x, such as fixed or conditions

Value

A plot object of class ggplot.

Examples

## Not run: 

plotFluxes(bestfit, x, times, subset(f, "B"%in%Product)$rates, nameFlux = "B production")

## End(Not run)

dkaschek/dMod documentation built on July 27, 2023, 11:45 p.m.