getCompartments returns compartments as a data frame.
getCompartments(key = NULL, raw_expressions = FALSE, model = getCurrentModel())Optionally, a character vector specifying which compartments to get.
Whether expressions should be raw (not converted to readable format), as flag.
A model object.
Compartments and associated information, as data frame.
The online article on managing model entities provides some further context.
getCompartmentReferences setCompartments
Other compartment functions:
deleteCompartment(),
entity_finders,
getCompartmentReferences(),
newCompartment(),
setCompartments()