Skip to contents

This function returns the name of the relevant database table based on the provided container class.

Usage

get_container_table_name(container_class)

Arguments

container_class

A string representing the container class. Currently supports "micronix_tube" and "cryovial_tube".

Value

A string representing the name of the relevant table. Will stop and throw an error for invalid or unsupported container classes.

Examples

get_container_table_name("micronix_tube") # Should return "micronix_plate"
#> [1] "micronix_plate"
get_container_table_name("cryovial_tube") # Should return "cryovial_plate"
#> [1] "cryovial_plate"