plotShadowCost: Function to plot substance shadow costs for a specie

Description Usage Arguments Details

Description

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

Usage

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