Function for searching a keyword in arena organisms and media

Share:

Description

The generic function findInArena tries to find information (e.g. full names) about a specific keyword

Usage

1
2
3
4
5
findInArena(object, pattern, search_rea = TRUE, search_sub = TRUE)

## S4 method for signature 'Arena'
findInArena(object, pattern, search_rea = TRUE,
  search_sub = TRUE)

Arguments

object

An object of class Arena.

pattern

A pattern for searching

search_rea

Only search for reactions

search_sub

Only search for substances

Examples

1
2
3
4
5
data(Ec_core)
bac <- Bac(Ec_core)
arena <- Arena(n=20,m=20)
arena <- addOrg(arena,bac,amount=10)
findInArena(arena, "acetate")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.