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

plotShadowCost

Function to plot substance shadow costs for a specie


Description

The generic function plotShadowCost plots substances have the highest impact on further growth (shadow cost < 0)

Usage

plotShadowCost(
  object,
  spec_nr = 1,
  sub_nr = 10,
  cutoff = -1,
  noplot = FALSE,
  useNames = FALSE
)

## S4 method for signature 'Eval'
plotShadowCost(
  object,
  spec_nr = 1,
  sub_nr = 10,
  cutoff = -1,
  noplot = FALSE,
  useNames = FALSE
)

Arguments

object

An object of class Eval.

spec_nr

Number of the specie

sub_nr

Maximal number of substances to be show

cutoff

Shadow costs should be smaller than cutoff

noplot

Do not plot

useNames

Use substance names instead of ids

Details

Returns ggplot objects


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.