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)
a tibble with two columns: INDEX and NAME
list of compartments