Skip to contents

Plot a ConsortiumMetabolism object

Usage

# S4 method for class 'ConsortiumMetabolism,ANY'
plot(
  x,
  type = c("Binary", "nSpecies", "Consumption", "Production", "EffectiveConsumption",
    "EffectiveProduction")
)

Arguments

x

A ConsortiumMetabolism object.

type

Character specifying the assay to plot.

Value

A ggplot object (returned invisibly).

Examples

# \donttest{
cm <- synCM("test", n_species = 3, max_met = 5)
plot(cm)

# }