Skip to contents

Get locations by specified sample type

Usage

get_location_by_sample(
  sample_type,
  sample_file = "samples.json",
  app_file = "app.json"
)

Arguments

sample_type

A character string specifying the type of sample.

sample_file

A character string indicating the path to the samples.json file.

app_file

A character string indicating the path to the app.json file.

Value

A named list of locations for the specified sample type.

Examples

get_location_by_sample(sample_type = "micronix")
#> $location_root
#> [1] "FreezerName"
#> 
#> $level_i
#> [1] "ShelfName"
#> 
#> $level_ii
#> [1] "BasketName"
#>