getCompartmentIndex: Get the compartment index for the specified compartment name.
Description
`r lifecycle::badge("deprecated")`
Usage
getCompartmentIndex(object, name)
Value
the corresponding compartment index
Arguments
- object
generic object that contains compartments information
- name
compartment name
Details
`getCompartmentIndex()` is deprecated in favor of `get_compartment_index()`.