deleteCompartment deletes compartments.

deleteCompartment(key, model = getCurrentModel())

Arguments

key

compartment keys

model

a model object

Details

Deletion quietly works recursively (deletes all connected entities) to prevent invalid model states.

See also