Skip to contents

Get file types for a specific sample

Usage

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

Arguments

sample_type

A character string representing the type of the 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 file types or a list with "NA" if not specified.

Examples

get_file_types_for_sample("micronix")
#>           NA   VisionMate      Traxcer 
#>         "na" "visionmate"    "traxcer"