plotShadowCost: Function to plot substance shadow costs for a specie

plotShadowCostR Documentation

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


euba/BacArena documentation built on March 27, 2024, 2:33 p.m.