all.vars: collect all variable names

View source: R/sbtab_utilities.R

all.varsR Documentation

collect all variable names

Description

this function collects all varibale names in SBtab, here we use the !ID column (because the !Name column can be something that isn't a programming language kind of variable-name).

Usage

## S3 method for class 'vars'
all(tab, react = TRUE)

Arguments

tab

a list of lists with the table content

react

if TRUE, this function only collects the IDs of Compouds, Parameters and Expressions

Details

If the react flag is FALSE then really all names are collected, otherwise only those that can appear in reaction formulae and kinetic laws of reactions.

Value

a vector of all names


a-kramer/SBtabVFGEN documentation built on Nov. 14, 2024, 8:41 p.m.