getCompartmentMapping function

Get a mapping table with all possibilities of compartment names and their indexes knowing that compartment names can be provided as character or as integer.

Get a mapping table with all possibilities of compartment names and their indexes knowing that compartment names can be provided as character or as integer.

getCompartmentMapping(compartments)

Arguments

  • compartments: list of compartments

Returns

a tibble with two columns: INDEX and NAME